Hi, I have a pc with two ethernet cards. One ethernet card is connected to a modem from which it gets his IP adres by DHCP. The other card is configured with the adres 192.168.1.1 and I want to route the packets that are recieved on that card to the internet. I have connected another pc on that card which has the adres 192.168.1.4 and I want to be able to acces the internet from that pc. I have setup shorewall to do masqerading, but for some reason I am unable to get on the internet from the computer with the 192.168.1.4 address. I have also tried another computer that has another IP adres in the same network range but it has the same problem. Can someone help me out please? Please see the attachment file for the output of the "shorewall dump" command. Thanks. Regards, Ben ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
On Sun, 7 Oct 2007 13:42:45 +0200, sonixxfx@gmail.com said:> Can someone help me out please? Please see the attachment file for the > output of the "shorewall dump" command.You have: /proc/sys/net/ipv4/ip_forward = 0 which means that the system will not forward packets from one interface to another. What is IP_FORWARDING set to in shorewall.conf? Keith ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Thank you very much Keith. It works now. IP_FORWARDING was set to Keep. I have changed it to on. Regards, Ben 2007/10/7, Keith Edmunds <kae@midnighthax.com>:> > On Sun, 7 Oct 2007 13:42:45 +0200, sonixxfx@gmail.com said: > > > Can someone help me out please? Please see the attachment file for the > > output of the "shorewall dump" command. > > You have: > > /proc/sys/net/ipv4/ip_forward = 0 > > which means that the system will not forward packets from one interface to > another. What is IP_FORWARDING set to in shorewall.conf? > > Keith > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/