Results 1 to 2 of 2
hi,
i have a red hat intalled in one of our pc served as our internet gateway, i just want to ask how can i open the firewall or add ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-02-2004 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 9
please help about firewall
hi,
i have a red hat intalled in one of our pc served as our internet gateway, i just want to ask how can i open the firewall or add my ip address to the firewall.
i dont know exactly where to go ..
thanks
- 12-02-2004 #2Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
The program that your gateway uses as it's firewall is probably 'iptables'. If you run
you should be able to see exactly what it is blocking or not blocking. You can then run something likeCode:/sbin/iptables -L -n
to allow the IP 123.45.67.89 to connect to the gateway on port 22.Code:/sbin/iptables -I INPUT -p tcp -s 123.45.67.89 --destination-port 22 -j ACCEPT
Best,
SamuelI respectfully decline the invitation to join your delusion.


Reply With Quote
