[ale] Inbound port forwarding.

Matt Yurman myurman at pwrgroup.com
Wed Sep 13 17:54:38 EDT 2000


> To make my packets jump, I use:
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipchains -P forward DENY
> ipchains -A forward -s 192.168.10.0/24 -d 0/0 -j MASQ
> 
> Put the above in your /etc/rc.d/rc.local file.  Plus, I have my
> /etc/sysconfig/network as follows:
> 
> NETWORKING=yes
> HOSTNAME="your_hostname_here"
> GATEWAY="your_gw_ip_here"
> GATEWAYDEV="eth0"
> 
> All that in for my redhat 6.2 box.
> 
Redhat 6.2 has a much more elegant solution for this part of the setup.
check out /etc/rc.d/init.d/ipchains and putting the forward =yes in
/etc/sysconfig/network or /etc/sysctl.conf depending on if you did a
upgrade or a fresh install.

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list