Firewall setting in solaris and winxp
My winxp PC is under a router for accessing the remote solaris workstation associated with a public IP address.
Now I want to configure the firewall on solaris and winxp as follows: From remote host to local PC (Inbound): ( I think this one can be configured by my router ) TCP 6000 ~ 6010 TCP 16001 From local PC to remote host (Outbound): ( My problem is how to open port in solaris or linux ) UDP 177 TCP 512, 513, 514, 23, 22 How can I implement the above one? |
What firewall software are you using on the Solaris box ?
|
The standard linux firewall is iptables and comes with most distros. I think it may also be used by Solaris but I'm not sure on this. To configure the firewall on a linux box as per your needs, first of all be root. Then:
Code:
iptables -L Enter the following commands, still as root: Code:
iptables -A RH-Firewall-1-INPUT -p udp -m udp --dport 177 -j ACCEPT Code:
service iptables save |
What you need for solaris is IPF, check out this tutorial http://www.homepage.montana.edu/~uni...aris_ipf.html.
Regards |
All times are GMT -5. The time now is 03:40 PM. |