View previous topic :: View next topic |
Author |
Message |
oiper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/141691202643c5980de2a0f.jpg)
Joined: 01 May 2003 Posts: 316 Location: Alabama, US
|
Posted: Tue May 03, 2005 12:46 am Post subject: My Gentoo router will not port forward. |
|
|
Hey all, I'm at sanity's edge with this. I've got a gentoo router that I've set up with firehol. I tested my set up a week ago on a different machine to ensure a smooth setup and sure enough, the test machine worked perfectly, but the "production" machine (that needed to be working this morning) is refusing to cooperate.
I'm running 2.6.7-gentoo-r6, dnsmasq, firehol, plus my server stuff. My firewall is performing as it should in regards to my server, but for the love of linux it won't port forward a thing. Help?
The only differences that I can think of between my working test box and the real one, is that:
1. I didn't originally set up the main box
2. It's on 2.6.7 while the test box is on 2.6.10
3. There is an evil gnome hiding behind this desk.
4. 5 hours of trying to do something that should be, and up until now has been, so easy, that I've lost my mind and can't see the problem for all my frustrations.
I'm open to any and all crazy ideas.
eth0 = local - 10.0.0.*
eth1 = inet
My humble firehol config:
Code: | version 5
interface eth0 office
server "samba ftp dns dhcp http ssh" accept
client "samba" accept
interface eth1 internet
server "http" accept
client all accept
router office2internet inface eth0 outface eth1
route all accept
|
my dnsmasq.conf:
Code: | domain-needed
bogus-priv
interface=eth0
except-interface=eth1
dhcp-range=10.0.0.56,10.0.0.100
|
_________________ www.bearscanfly.org - Because hiking is cool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hanj Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/104414163441b8c6c1a6b4e.gif)
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Tue May 03, 2005 3:41 am Post subject: |
|
|
Hello
Just taking a wild stab... check your /etc/sysctl.conf. Make sure this is set:
Code: | net.ipv4.ip_forward = 1 |
HTH
hanji |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oiper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/141691202643c5980de2a0f.jpg)
Joined: 01 May 2003 Posts: 316 Location: Alabama, US
|
Posted: Sat May 07, 2005 3:55 pm Post subject: |
|
|
thanks hanj, I could have sworn I'd set that before, but I went back over everthing and got it running. _________________ www.bearscanfly.org - Because hiking is cool |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|