[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
FREESCO Support • View topic - port range forwarding.

port range forwarding.

If you need some help, this should be the first place to look.

Postby TiGeR » Thu Jan 17, 2002 7:16 am

TiGeR
 

Postby Lightning » Thu Jan 17, 2002 1:49 pm

TiGeR that is a good idea and if you make one more improvement then spaces are allowed in the .cfg files as well as spaces and comment after each entry.<p>change this
for i in `cat /etc/forward.cfg`;
to this
for i in `cat /etc/forward.cfg | sed s/#.*//`; <p>Then you can use spaces and comments after each entry just like a normal configuration file. Then all of the _'s can be removed also. I think it was just an oversite when Serge made it the first time and never did get changed.
Lightning
 

Postby TiGeR » Thu Jan 17, 2002 2:21 pm

thanx for that !..
I edited the post to make this changes...
Im not realy god at doing this kind of scripts but after a few trial and error with "echo" before the command i finaly got it working :-)<p>
TiGeR
 

Postby Lightning » Thu Jan 17, 2002 5:53 pm

While I was looking at the rc_portf file I also noticed that if you are using a dialup or leased connection. Then rc_portf file will never run. If that is the case then the file that needs changed is the ip_up file and the chages are very similar but not exactly the same. You have to substitute $I for $IPADDR0
<p>(Edited by Lightning at 9:58 am on Jan. 5, 2002)
Lightning
 

Postby TiGeR » Sat Jan 26, 2002 4:59 pm

Thanx Lightning.
I was not awere of this i will shange my post to beskribe this to ..
TiGeR
 

Postby Administrator » Sat Jan 26, 2002 7:04 pm

NOT AN FAQ
Administrator
 

Postby TiGeR » Fri Feb 01, 2002 7:46 am

<font color='#000000'>Didnt it say "tips and trix" to ?
And this was clearly a tip.<p>And if didnt say that im realy sorry.
But now i made a package of it and that one went to the right place :)
<p>(Edited by TiGeR at 11:48 am on Feb. 1, 2002)</font>



<!--EDIT|Howler|1030285975-->
TiGeR
 


Return to FAQ - Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron