hello,

        I have one thing. I have 5 subnets with internal ips behind my firewall. 
And I wanted to masq every subnet with another inetrnet ip. For exapmle:

                192.168.1.0     to      193.193.193.11
                192.168.2.0     to      193.193.193.12

        I tried to compile kernel ( v2.2.4) with IP aliasing option and define alias 
to my token-ring card with ifconfig tr0:0 193.193.193.11 and same way tr0:1 
(193.193.193.10 is "real" address). tr0 is my outgoing (internet) interface.

        In masq setting I defined the following:

ipchains -P forward DENY           
ipchains -A forward -j MASQ -i tr0:0 -s 192.168.1.0/255.255.255.0                     
ipchains -A forward -j MASQ -i tr0:1 -s 192.168.2.0/255.255.255.0                     

        It not works. Maybe is problem with routing - but I can't use source 
routing (I don't found it) and one default gateway throw tr0 is not enough.

                thank for your help

                                Lumir


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to