View previous topic :: View next topic |
Author |
Message |
troberts n00b

Joined: 18 Jul 2002 Posts: 5
|
Posted: Sat Jul 20, 2002 10:50 am Post subject: rpcinfo -p works |
|
|
I get a list of services including nfs, mountd, sgi_fam, portmapper, nlock_mgr, status. Could iptables be affecting this? |
|
Back to top |
|
 |
tux-fan Tux's lil' helper


Joined: 10 Apr 2002 Posts: 131 Location: Paderborn, Germany
|
Posted: Sun Jul 21, 2002 7:17 pm Post subject: |
|
|
Yes of course. The portmapper for examples uses tcp/udp port 111. Your firewall must not block that ports for your internel network but for the externel net it should do so.
For this U should add some rules to your firewall script, example:
/sbin/iptables -A INPUT -p tcp -i ppp0 --dport 111 -j DROP
/sbin/iptables -A INPUT -p udp -i ppp0 --dport 111 -j DROP
(where ppp0 is the interface to the externel world) |
|
Back to top |
|
 |
|
|
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
|
|