Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RPC-portmapper + iptables headache - solved
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
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Fri Jan 28, 2005 6:14 pm    Post subject: RPC-portmapper + iptables headache - solved Reply with quote

I am trying to get portmapper running on a box that is thoroughly firewalled and I was wondering if anyone know of a connection tracking patch or some other way of allowing this besides opening up a whole dump of UDP ports...

Last edited by thebigslide on Sun Jan 30, 2005 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sun Jan 30, 2005 8:38 am    Post subject: Reply with quote

Maybe you should try IPmasqueing? Do you need full server support or just the ability to make outbound connections?
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Jan 30, 2005 2:09 pm    Post subject: Reply with quote

I am using IP masquerading right now, but that's for something else. I'm not trying to forward ports, I'm trying to run an NFS server on the LAN side of from the firewall :oops:

I should have put this in the original question, sorry.

The portmapper service picks a seemingly random port for NFS to use for each connection it makes. I don't know the range it picks from but it's HUGE. I want to know if iptables has a way of determining which port NFS is going to use by the payload of the portmapper (port 111) transaction, like it does for FTP.

Also, is there an easier way of doing what I'm trying to do (they cannot afford another server).
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Jan 30, 2005 3:54 pm    Post subject: Reply with quote

I found [url="http://www.lowth.com/LinWiz/nfs_help.html"]this[/url] page which explained how to resolve the issue.
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