LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » HyperVM Community Support » HyperVM OpenVZ » how change port 8888
how change port 8888 [message #90153] Thu, 20 October 2011 06:12 Go to next message
temoinlove is currently offline temoinlove  
Messages: 7
Registered: October 2011
Location: saudi arabis
Member
hello i work internet by mobily in saudi arabia
and port 8888 closed
so i want change it to any port other
please how this ?
Re: how change port 8888 [message #90155 is a reply to message #90153] Thu, 20 October 2011 08:51 Go to previous messageGo to next message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
You have have an iptable rul accept a request from another port and forward it to 8888.

https://www.mercuryvps.com
HyperVM Xen VPS hosting
Re: how change port 8888 [message #90157 is a reply to message #90155] Thu, 20 October 2011 09:33 Go to previous messageGo to next message
temoinlove is currently offline temoinlove  United States
Messages: 7
Registered: October 2011
Location: saudi arabis
Member
can you tell me steps plz
Re: how change port 8888 [message #90165 is a reply to message #90157] Thu, 20 October 2011 12:59 Go to previous message
shazar is currently offline shazar  United States
Messages: 1856
Registered: May 2011
Grandmaster
LxCenter Core Team Member
LxCenter Representative
I've not tested this so take it with a grain of salt, and test on test server if possible:

http://www.cyberciti.biz/faq/linux-port-redirection-with-ipt ables/

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25 -j REDIRECT --to-port 2525


https://www.mercuryvps.com
HyperVM Xen VPS hosting
Previous Topic:vzquota : (error) Quota is not running for id XXXX
Next Topic:Ubuntu 10.04
Goto Forum:
  


Current Time: Thu May 23 19:18:14 EDT 2013

Total time taken to generate the page: 0.01045 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software