/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


>All you need (absolute MINIMUM - forwarding between internal
>networks NOT permitted) to get things working is:
>
>ifconfig eth1 192.168.0.1 netmask 255.255.255.248
>route add default gw 172.16.0.1
>
>ifconfig eth1:1 192.168.0.9 netmask 255.255.255.248
>ifconfig eth1:2 192.168.0.17 netmask 255.255.255.248
>
>
>echo "1" > /proc/sys/net/ipv4/ip_forward
>/sbin/ipchains -P input ACCEPT
>/sbin/ipchains -P output ACCEPT
>/sbin/ipchains -P forward DENY
>/sbin/ipchains -A forward -i ppp0 -s 192.168.0.0/29 -j MASQ
>/sbin/ipchains -A forward -i ppp1 -s 192.168.0.8/29 -j MASQ
>/sbin/ipchains -A forward -i ppp2 -s 192.168.0.16/29 -j MASQ

ok I tried that and actually I tried it earlier before posting but I didn't 
have the eth1:1 and eth1:2. Now from the windows machines I could ping the 
ppp's gateway but nothing else... the only way to be able to ping anything 
else is by adding the ppp's gateway as the default gateway. Like for MASQ 
IP #2: 192.168.0.10 I could ping 172.16.0.2 but nothing else unless I do 
route add default gw 172.16.0.2.

Thanks


Rami AlZaid  <[EMAIL PROTECTED]>  *  ICQ # 1071118
WebPages: www.alzaid.com  *  www.kuwait.nu  *  www.wooyeah.com

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to