Community discussions

MikroTik App
 
User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 3:02 pm
Location: South Africa
Contact:

loopback connection

Sat Feb 05, 2011 7:51 am

hey ok i have a big problem got my whole setup working but the programmer hardcoded the public ip adresses on my programs that he wrote and the programs are running on my local private network and i cannot get it to revert back to my public network without the connection going out, is there a loopback rule i can add so if somone uses ip 41.134.110.10 or ip 196.212.100.148 that it wont go out but revert back to my private ip.
 
User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 3:02 pm
Location: South Africa
Contact:

Re: loopback connection

Sat Feb 05, 2011 10:44 am

oh forgot im using a module called pcc on my rb750 cuz im using 2 dsl routers for outgoing traffic.

i have setted up a pcc based setup all my rules are working right but the mikrotik does not redirect a public ip adress back to the user using ex: ftp connection on the same subnet like:

wan1:41.134.110.11 and wan2:196.212.100.148 wich is on my rb750 eth1

lan1:192.168.88.0/24

now on my local subnet i have a ftpserver with the adress 192.168.88.2 and im on my local subnet i try to access my ftpserver from outside my network like on my 3gphone with my wan ip 41.134.110.11 it works but on my local ip 192.168.88.0/24 it keeps on timeing out why does it do that?
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: loopback connection

Sat Feb 05, 2011 8:51 pm

This is a NAT issue. Most probably.

For example this is how I (very often) config NAT for a port:

add action=dst-nat chain=dstnat comment="Remote Access to Switch" dst-address-type=local dst-port=1234 protocol=tcp to-addresses=10.11.12.13 to-ports=80
add action=src-nat chain=srcnat disabled=no dst-address=10.11.12.13 to-addresses=10.11.12.1

Where 10.11.12.1 is the address of the router. So it will seem as the connection is coming from the router.

Who is online

Users browsing this forum: No registered users and 13 guests