latour
10-31-2000, 11:01 AM
Hi all,
i have setup IP masq with a few Windows platform PCs.
My setup
eth0: static ip from ISP
eth1: 192.168.0.1/255.255.255.0
my rc.firewall:
/sbin/ipchains -P forward DENY
/sbin/ipchains -A 192.168.0.0/24 -j MASQ
Setup the clients with 192.168.0.2-5/24, gateway 192.168.0.1
It works...runs like a horse.
When i change the ip to anther range for both server and clients. IP Masq doesnt work
Changes i made:
eth0: static ip from ISP
eth1: 192.168.132.1/255.255.255.0
my rc.firewall:
/sbin/ipchains -P forward DENY
/sbin/ipchains -A 192.168.132.0/24 -j MASQ
then change the clients to ips 192.168.132.2-5/255.255.255.0, gateway 192.168.132.1
no luck from the above configuartion. Changed back to the first configuration and it works again.
Is my ip addressing(netmask...etc)wrong? Pls advise
thank you
i have setup IP masq with a few Windows platform PCs.
My setup
eth0: static ip from ISP
eth1: 192.168.0.1/255.255.255.0
my rc.firewall:
/sbin/ipchains -P forward DENY
/sbin/ipchains -A 192.168.0.0/24 -j MASQ
Setup the clients with 192.168.0.2-5/24, gateway 192.168.0.1
It works...runs like a horse.
When i change the ip to anther range for both server and clients. IP Masq doesnt work
Changes i made:
eth0: static ip from ISP
eth1: 192.168.132.1/255.255.255.0
my rc.firewall:
/sbin/ipchains -P forward DENY
/sbin/ipchains -A 192.168.132.0/24 -j MASQ
then change the clients to ips 192.168.132.2-5/255.255.255.0, gateway 192.168.132.1
no luck from the above configuartion. Changed back to the first configuration and it works again.
Is my ip addressing(netmask...etc)wrong? Pls advise
thank you