Hi,i''m newbie with shorewall ... Currently i have a box with 2 ethernet cards and ppp0 dial up, one of the ethernet cards is plugged to my Cable modem , my ISP provider gave me a private internet IP, so i have to contract a dial up service to get a public Internet IP in order to run some servers. So i was wondering if it is possible make some kind of NAT to tell my box that everithing that comes from internet dial up, returns by internet cable?
carlosru wrote:> Hi,i''m newbie with shorewall ... > > Currently i have a box with 2 ethernet cards and ppp0 dial up, one of the ethernet cards is plugged to my Cable modem , my ISP provider gave me a private internet IP, so i have to contract a dial up service to get a public Internet IP in order to run some servers. > > So i was wondering if it is possible make some kind of NAT to tell my box that everithing that comes from internet dial up, returns by internet cable?That''s routing, not NAT. Just set your default route to be your cable interface, regardless of which interface it comes in on, and it should work, as long as your ISP for both interfaces is the same, or your cable ISP is incompetent (meaning that they do no egress filtering based on source IP address). Paul
Thanks Paul unfortunadtedly the Public IP comes from another ISP. carlosru wrote:> Hi,i''m newbie with shorewall ... > > Currently i have a box with 2 ethernet cards and ppp0 dial up, one of the ethernet cards is plugged to my Cable modem , my ISP provider gave me a private internet IP, so i have to contract a dial up service to get a public Internet IP in order to run some servers. > > So i was wondering if it is possible make some kind of NAT to tell my box that everithing that comes from internet dial up, returns by internet cable?That''s routing, not NAT. Just set your default route to be your cable interface, regardless of which interface it comes in on, and it should work, as long as your ISP for both interfaces is the same, or your cable ISP is incompetent (meaning that they do no egress filtering based on source IP address). Paul