Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ipchains



On Tue, 24 Aug 1999, Anthony J. Gabrielson wrote:

> Jerry,
> 	I finally got a chance to take a look at the ipchains again.  I
> have set up 3 rules:
> 	ipchains -P forward DENY
> 	ipchains -A forward -i eth1 -j MASQ
> 	echo 1 > /proc/sys/net/ipv4/ip_forward
> eth1 is inside my network.  eth0 is outside.  E.X:

Change eth1 to eth0 in your rule above, and it should work.  As I said in
my previous message, the -i option specifies the TARGET interface with
forward and output chains, NOT the source interface.

Also, if you're on a redhat system, you don't need to do that echo command
if you set 

FORWARD_IPV4=true

in /etc/sysconfig/network


Derek D. Martin   |  UNIX System Administrator
derek at netria.com  |  dmartin at lancity.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org