开发者

Is there a way to configure router forwarding in a wireless network?

开发者 https://www.devze.com 2023-02-06 18:42 出处:网络
I\'m running a web server on my laptop and using a service called no-ip to couple the domain with my IP.

I'm running a web server on my laptop and using a service called no-ip to couple the domain with my IP.

The problem is that the IP recognized is the router's IP.

Usually I use wireless networks so I can't configure port forwarding from a specific router. Is there a way to configure a router remotely?

Another question: after forwar开发者_如何学Cding configuration, will I be recognized on the internet by my PC's IP?


You can configure most routers using a web browser by navigating to an address like 192.168.1.1 or 192.168.0.1 (it depends on the router, really). Then you can do port forwarding and things like that (if you have administrator access to the router, of course).

As for your external ip, it should always remain to be the ip of your router...

EDIT:

If you keep switching routers by moving around, your IP will keep changing -- I'm not sure if the no-ip service you have will work very well with that


If you have access to the router's admin page (http://defaultGatewayIP) . You can port forward any ports you want manually or using a third-party software that detects the router type and do the rest of work to you. You may try Simple Port Forwarding , It's easy to use and will do all the work for you. After port forwarding, you will still be recognized on the internet by your router IP, because Your router is what is connected to the internet, it just routes the traffic to your pc. So your pc isn't actually connected to the internet, it's connected to a middle-man (router).

If you don't know your default gateway, You can open a cmd instance and type

ipconfig /all

you will find your default gateway IP in the output, Surf it from any web browser and will see your router configuration page.


Using your system as a web server will use your modem's IP address. Your setup is most likely a dynamic address assigned by your ISP.

Router's typically use the same method that your ISP uses to create your external IP address. In order to have your device (web-server in this case) take the place of your router's IP you must to change the router's IP first. Then change the current DHCP settings to start addresses to correspond to the desired host address, ex. 192.168.1.1.

Keep in mind that every additional device that connects to the network, it will cause the address to go up incrementally (192.168.1.1, 192.168.1.2, etc). Make sure you reserve your IP address for your server so that another machine does not take it. Otherwise any configuration such as port forwarding will be void.

To configure your router wirelessly, connect to the new address you've assigned. You can determine your router IP by opening a command console and typing ipconfig and taking the Default Gateway address into your browser. It will prompt you to login, look up your router online for the username and password.

0

精彩评论

暂无评论...
验证码 换一张
取 消