Community discussions

MikroTik App
TheMG
刚刚加入了
Topic Author
Posts: 15
加入: Mon Mar 15, 2010 4:59 am

Accessing local server using WAN IP from local network.

Mon Mar 15, 2010 5:32 am

Basically I have a RB450G with RouterOS 4.6, I have a server on the local network, behind the NAT, which has been configured to forward correct ports for outside access.

I want to make it so when I connect to the WAN IP from the local network, it's as if I was accessing the router from the outside, and the NAT rules apply.

Currently if I try to connect to the WAN IP from inside the local network, it connects to the router rather than the server I have forwarded ports to. For example, I have port 80 forwarded from the WAN interface. Entering the WAN IP in a web browser from outside the local network (the internet) connects me to the web server. Entering this same WAN IP in a web browser from a local machine brings up the router's web interface instead, instead of connecting to the web server.

The reason I want to do this is that I am running some game servers on that same server machine. When I play on these servers from a local machine, I want the game IM client to report the WAN IP that other users can connect to to join the server, rather than the LAN IP. To do this, I must connect to the game server using the WAN IP.

Well I hope this makes some sense as to what I am trying to achieve. My previous router (consumer grade, D-Link DGL-4300) did this by default.
Top
用户头像
hilton
Long time Member
Long time Member
Posts: 634
加入: Thu Sep 07, 2006 5:12 pm
Location:Jozi (aka Johannesburg), South Africa

Re: Accessing local server using WAN IP from local network.

Mon Mar 15, 2010 4:16 pm

Top

Who is online

Users browsing this forum:Ahrefs [Bot],Bing [Bot],去ogle [Bot],jpino2210,Ralfu,wolandand 3 guests