Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Henrik on March 29, 2001, 01:07:15 PM
-
Hi!
I want to add some lines in the rc.local file but I am not sure where to put the new lines. I've been told to add them in the last line but I can't get it to work. My question is if someone can point out exactly were I should put these lines? My other question is when I have put these lines in the correct place, do I only have to restart the server and then have a go or do I have to do anything else?
These are the lines I want to add:
ipmasqadm autofw -A -v -r udp 2300 2400 -h www.xxx.yyy.zzz
ipmasqadm autofw -A -v -r tcp 2300 2400 -h www.xxx.yyy.zzz
ipmasqadm autofw -A -v -r tcp 47624 47624 -h www.xxx.yyy.zzz
ipmasqadm autofw -A -v -r udp 47624 47624 -h www.xxx.yyy.zzz
ipmasqadm autofw -A -v -r udp 28800 28900 -h www.xxx.yyy.zzz
This might not be the correct way to do it but I just want to make it simpel and have a try and then if it works alright I can do it the proper way (if there is such way)
Thanks
Henrik