1stFlight wrote:
>
> Does anyone have a sample netfilter setup I could see ? I'm having a
> great deal of trouble with my setup.Thanks
>
What exactly do You need?
I'm using iptables for its NAT capabilities.
On router linux with 3 intf I have following setup of NAT:
/usr/local/sbin/iptables -t nat -A POSTROUTING -s 192.168.101.0/24 \
-d ! 212.98.XX.XX/29 -o eth1 -j SNAT --to 212.98.XX.YY
/usr/local/sbin/iptables -t nat -A POSTROUTING -s 212.98.XX.XX/29 \
-d 192.168.101.0/24 -o eth0 -j SNAT --to 192.168.101.12
/usr/local/sbin/iptables -t nat -A POSTROUTING -s 192.168.101.0/24 \
-d 212.98.XX.XX/29 -o eth2 -j SNAT --to 212.98.XX.YY
/usr/local/sbin/iptables -t nat -A POSTROUTING -s 192.168.168.1/32 \
-d \! 192.168.168.0/24 -o eth1 -j SNAT --to 212.98.XX.YY
212.98.XX.XX - our network, XX.YY - address of router.
192.168.101.* - LAN, 192.168.168.0 - two nodes network to Cisco.
firewall config large and unreadable ;-)))
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs