Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My Gentoo router will not port forward.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
oiper
Guru
Guru


Joined: 01 May 2003
Posts: 316
Location: Alabama, US

PostPosted: Tue May 03, 2005 12:46 am    Post subject: My Gentoo router will not port forward. Reply with quote

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
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Tue May 03, 2005 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message
oiper
Guru
Guru


Joined: 01 May 2003
Posts: 316
Location: Alabama, US

PostPosted: Sat May 07, 2005 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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