Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Tommy on April 17, 2003, 11:52:48 AM
-
Hi!
I want to do this task automatic, when My server reboots
:
ipmasqadm portfw -a -P tcp -L 80.196.156.67 4661 -R 192.168.236.66 4661
ipmasqadm portfw -a -P tcp -L 80.196.156.67 4662 -R 192.168.236.66 4662
ipmasqadm portfw -a -P tcp -L 80.196.156.67 4663 -R 192.168.236.66 4663
ipmasqadm portfw -a -P udp -L 80.196.156.67 4665 -R 192.168.236.66 4665
Is there a script I can put these lines in and how?
Thanks,
Tommy
-
What about just installing the port forwarding contrib?
-
Tommy wrote:
> I want to do this task automatic, when My server reboots
> :
> ipmasqadm portfw -a -P tcp -L 80.196.156.67 4661 -R
> 192.168.236.66 4661
...
That's port forwarding, not port opening. Port opening, by itself, achieves nothing. There are contrib, with web panel, which does what you want. 5.5 and 5.6 need different versions.
Charlie
-
If you want those commands to be executed after reboot append them to the end of /etc/rc.d/rc.local.
As Charlie said, those are port-fowarding commands, not firewall "port-opening" commands.
-
Thanks to all of you!
I got it to work with the portforward distro.