LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   enabling ports on iptables (https://www.linuxquestions.org/questions/red-hat-31/enabling-ports-on-iptables-175512/)

deley71 04-28-2004 10:00 AM

enabling ports on iptables
 
i just changed my domain host . My new website control panel is "domain name:port number"
My temporary website address is "ip address:port number/browsen"

i can view it without the firewall but once i'm behind the firewall i cant. i have iptables firewall on redhat linux 9.

please how can i modify the firewall to allow access from my lan.

the_reen 07-14-2004 02:54 PM

Just add those to your iptables configuration file:


iptables -A INPUT -i eth0 -j ACCEPT
iptables -A OUTPUT -o eth0 -j ACCEPT

eth0 -> is your LAN card in your server ... modify if needed ...

This will give access to all your LAN traffic ;-)


All times are GMT -5. The time now is 06:15 PM.