similar to: /etc/sysconfig/iptables syntax

Displaying 20 results from an estimated 20000 matches similar to: "/etc/sysconfig/iptables syntax"

2016 May 23
0
/etc/sysconfig/iptables syntax
You need to disable firewalld and install iptables, if you really want use old way: https://www.certdepot.net/rhel7-disable-firewalld-use-iptables/ Firewalld is preferred way. You should learn it.. -- Eero 2016-05-23 5:55 GMT+03:00 Mike <1100100 at gmail.com>: > The last two router/firewall servers I had used Slackware and Gentoo. > I'm used to writing complete and explicit
2016 May 23
0
/etc/sysconfig/iptables syntax
On 23/05/16 14:55, Mike wrote: > The last two router/firewall servers I had used Slackware and Gentoo. > I'm used to writing complete and explicit iptables rules; however, when I > set up /etc/sysconfig/iptables in CentOS 7 my usual syntax is unusable. > > For example, I'm used to stating postrouting masquerade as: > > /usr/sbin/iptables -t nat -A POSTROUTING -o eth0
2005 May 20
1
Iptables - PREROUTING
I have a server whit 2 interfaces of network, where eth0 is the interfaces connetc to internet and eth1 to the internal network. This server hace a Squid only, but i setting the iptables for protection to the server. Iptables run from script and in this script i setting the redirection for the other server in my internal network to port 80 and 443. I follow the diferent how to and many manual, but
2016 May 23
3
/etc/sysconfig/iptables syntax
On 5/22/2016 9:45 PM, Eero Volotinen wrote: > Firewalld is preferred way. You should learn it.. Are there any good tools for converting an iptables-save file to a Firewalld configuration?
2010 Aug 02
2
NAT via /etc/sysconfig/iptables
Hello listmates, It's been a few years since I've set up a router... and for some reason I seem to be getting hung up on this one. Does anybody have a sample iptables config file that would incorporate NAT and forwarding for a simple router? Thanks. Boris.
2019 Jun 28
2
UDP broadcasts vs. nat Masquerading issue
Hi all, I'm observing an issue that as soon as libvirt starts, UPD broadcasts going through physical network (and unrelated to any virtualization) get broken. Specifically, windows neighbourhood browsing through samba's nmbd starts suffering badly (Samba is running on this same box). At the moment I'm running a quite outdated version 1.2.9 of libvirt, but other than this issue,
2016 May 23
1
/etc/sysconfig/iptables syntax
On 23 May 2016 21:03, "Mike" <1100100 at gmail.com> wrote: > > The closest thing I could find to an iptables to firewalld conversion tool > was Offline Configuation. > The firewall-offline-cmd command was created to help setup firewall rules > when Firewalld is not running. > > For instance, to open the tcp port 22, you would type in the >
2016 Jun 21
2
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
On Tue, 2016-06-21 at 15:46 +0100, Always Learning wrote: > On Tue, 2016-06-21 at 16:24 +0200, Alexander Farber wrote: > > > *nat > > :INPUT ACCEPT > > :OUTPUT ACCEPT > > :PREROUTING ACCEPT > > :POSTROUTING ACCEPT > > -A PREROUTING -p tcp --dst 144.76.184.154 --dport 8080 -j REDIRECT > > --to-port 80 > >
2014 Jan 23
1
[Bug 887] New: iptables.xslt wrong "match" -m handling
https://bugzilla.netfilter.org/show_bug.cgi?id=887 Summary: iptables.xslt wrong "match" -m handling Product: iptables Version: 1.4.x Platform: All OS/Version: Debian GNU/Linux Status: NEW Severity: major Priority: P5 Component: unknown AssignedTo: netfilter-buglog at lists.netfilter.org
2016 Jun 21
4
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
Hello Gordon and others On Tue, Jun 21, 2016 at 4:13 PM, Gordon Messmer <gordon.messmer at gmail.com> wrote: > On 06/21/2016 02:30 AM, Alexander Farber wrote: > >> -A PREROUTING -p tcp -m tcp -d 144.76.184.154/32 --dport 80 -j REDIRECT >> --to-ports 8080 >> > > > I think you have the ports backward, here. > here the problem description again: I have
2013 Mar 22
2
Problems with 'iptables'
Hello! Sorry if this question is already asked, but I not finding answer for it... I have server with CentOS 6.4, later it will be router for home network. When I tried tune iptables I have error: [root at gateway sysconfig]# iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE iptables v1.4.7: can't initialize iptables table `NAT': Table does not exist (do you need to insmod?)
2016 Feb 29
2
need help on tinc route problem
my network: local pc(192.168.1.2)-->openwrt_adsl_router A( 192.168.1.1/24&11.22.33.44pppoe&10.10.10.1/24 tinc)<---remote B: 10.10.20.1/24 ^ | remote C:10.10.0.1/24 all running tinc 1.0.x, ADSL router
2014 Mar 05
1
fedora 19 + libvirt-1.0.5.9 routing problems
Hi, I am an experienced libvirt user on Fedora versions from F15 to F17. I have developped scripts to route trafic from outside on multiple interfaces/multiples IPs to multiple VMs, and back to affect each VM the required external IP address. I have servers with more than hundreds external IPs, and up to 4 VMs, each of them route trafic on different external IPs. I have servers with Fedora
2014 Jan 07
2
Forward http traffic
Hello, On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables): *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A
2019 Jul 05
1
Re: UDP broadcasts vs. nat Masquerading issue
Hi Daniel and Laine, [...] >> -A POSTROUTING -o br0 -j MASQUERADE >> -A POSTROUTING -o enp0s25 -j MASQUERADE >> -A POSTROUTING -o virbr2_nic -j MASQUERADE >> -A POSTROUTING -o vnet0 -j MASQUERADE > > *None* of those rules were added by libvirt (unless your build of [...] > You can verify my "counter-claim" by running "virsh net-destroy" for all
2016 Jun 21
2
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
Hello again, unfortunately the following /etc/sysconfig/iptables file does not work: *nat :INPUT ACCEPT :OUTPUT ACCEPT :PREROUTING ACCEPT :POSTROUTING ACCEPT #-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 -A PREROUTING -p tcp -m tcp -d 144.76.184.154/32 --dport 80 -j REDIRECT --to-ports 8080 COMMIT *filter :INPUT DROP :OUTPUT ACCEPT :FORWARD DROP -A INPUT -m state --state
2005 Jun 30
2
routing between 2 lines problem , after starting squid
i''m using one line on eth2 only for web traffic eth1 is my internal line and eth0 is my main line to internet . i''m marking packets like this i have default route on eth0 iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 80 -j MARK --set-mark 66 iptables -t mangle -A PREROUTING -i eth1 -p tcp --sport 80 -j MARK --set-mark 66 iptables -t mangle -A PREROUTING -i eth1
2005 Oct 20
1
Firewall.routing configuration problems
Hi, I am trying to set up a linux box to act as a router for my college. There are two different types of users; students and conference guests, and they have IPs statically assigned by DHCP, from separate ranges (but they are on the same subnet). The students go out onto an academic connection (via eth0), and conference guests go out on an ADSL line (via eth3). eth1 and eth2 are configured for
2008 Aug 29
2
Iptables masq traffic limiting
Where is the correct place to control what traffic is masq'ed out? This is what I have, but I was told the Forward chain isn't the right place to do this? iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i $LAN -o $WAN -m state --state NEW,ESTABLISHED,RELATED -p tcp -m multiport
2015 Feb 19
4
Masquerading (packet forwarding) on CentOS 7
Hi, I just migrated my office's server from Slackware64 14.1 to CentOS 7. So far everything's running fine, I just have a few minor details to work out. I removed the firewalld package and replaced it by a simple Iptables script: --8<---------------------------------------------------- #!/bin/sh # # firewall-lan.sh IPT=$(which iptables) MOD=$(which modprobe) SYS=$(which sysctl)