Date: Wed, 8 Sep 1999 16:10:24 +0200 From: Anders Andersson <anders@sanyusan.se> To: questions@FreeBSD.ORG Subject: Linux ipfwadm Message-ID: <19990908161024.A47793@enterprise.sanyusan.se>
next in thread | raw e-mail | index | archive | help
I have a client which now have a Linux box that handles the following: - Server with 2 NIC's, nic 1 has a IP to the Internet and nic 2 got a 192.168. IP for local LAN. - Local LAN clients can now browse the Internet. Linux is setup as following: /sbin/ipfwadm -I -p accept /sbin/ipfwadm -O -p accept /sbin/ipfwadm -F -p deny (two lines, wrapping makes it look bad) /sbin/ipfwadm -F -a masquerade -P all -S 192.168.122.0/255.255.255.0 -D 0.0.0.0/0.0.0.0 /sbin/ipfwadm -F -a masquerade -P all -S 0.0.0.0/0.0.0.0 -D 192.168.122.0/255.255.225.0 How can I do this in FreeBSD? Please let me know if you need more information. Anders -- Anders Andersson anders@sanyusan.se Sanyusan International AB http://www.sanyusan.se/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990908161024.A47793>