rejetto forum
May 25, 2012, 11:19:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Quick question on ports and multiple interfaces...  (Read 674 times)
0 Members and 1 Guest are viewing this topic.
coopert
Guest


Email
« on: December 16, 2009, 11:51:32 PM »

Is there any sort of configuration within HFS that will allow the assign different ports to different interfaces? For instance, when using my wired Gigabit interface I forward port 45000. On my wireless, I forward 45001.

I've just been switching the port numbers manually whenever I switch interfaces but I was just wondering if there was any configuration to switch automatically.


And also, if there's no config within HFS, is there any shortcut switches I can use to start HFS using one port, another shortcut set up with another port?

Any reply is appreciated
Logged
bacter
Operator
Insane poster
*****
Offline Offline

Spain Spain

Posts: 679


View Profile
« Reply #1 on: December 17, 2009, 04:14:11 AM »

hi coopert
There is no feature in hfs to know how you are connectred to the net and then change the port.

But you can make two shortcuts to hfs, one mit some parameter to use a complement to the hfs.ini file that overrides the default port with an alternative port.

See the wiki for command line parameters: http://www.rejetto.com/wiki/index.php/HFS:_Command_line_parameters
Logged

your computer has no brain - use your own !
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #2 on: December 19, 2009, 09:17:24 AM »

in next release you will find a new parameter: -c
so that you can more easily do things like
hfs.exe -c "port=45001"

it was long i meant to do this Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 10, 2012, 02:34:06 AM