Results 1 to 2 of 2
hello, I have a linux server installed in my computer and I have a public ip (ex : 87.222.222.222) . I want to assign this public ip to this server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-05-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 5
public ip for linux
hello, I have a linux server installed in my computer and I have a public ip (ex : 87.222.222.222) . I want to assign this public ip to this server . for example if i write 87.222.222.222:80 it should go to apache server or if i go to putty and write the ip with port 22 it should works. how to do so ? i tried to change the interfaces but it dose not work !
- 07-05-2011 #2
If your server is connected directly to the internet,
that is, you connect by modem, cable modem, or
dsl, the computer will have a public IP address.
If you have a NAT router, a typical small office/home
router, your computer will have a private IP address
assigned by the router.
You can either configure the router to forward inbound
traffic with port forwarding or dmz. With port forwarding
you can select which ports to expose to the internet.
With dmz, you can expose the whole computer (all ports)
to the internet. Consult your router's documentation.


Reply With Quote
