Community discussions

MikroTik App
 
krasi9220
newbie
Topic Author
Posts: 29
Joined: Sat Feb 19, 2011 5:45 pm

NAT case !

Tue Mar 29, 2011 9:03 pm

Hello, guys !

I have task to resolve. I have two subnets connected with ovpn and OSPF. The first ovpn is ''OVPN1'' and the second is "OVPN2" and the internet provider gave only private ip address. That's why I try to use the public ip address for OVPN1 as forward the port to ip address from OVPN2.
What I want ? I want when I write the public ip address for OVPN1 to forwarding to some address from OVPN2.

Please, give me some advice.

Thanks !
 
User avatar
rezamoghadam
Trainer
Trainer
Posts: 33
Joined: Wed Mar 02, 2011 1:01 pm
Location: Iran , Ahvaz
Contact:

Re: NAT case !

Tue Mar 29, 2011 10:56 pm

i cant understand your mean about your situation ...

please give me some information and what you want from this ... ?

if you want only by use Public IP Address redirect to OVPN2 , you can use Destination Nat .
 
krasi9220
newbie
Topic Author
Posts: 29
Joined: Sat Feb 19, 2011 5:45 pm

Re: NAT case !

Wed Mar 30, 2011 9:53 am

I want exactly only use public ip address redirect to OVPN2. I using DNAT, but I have problems with that, when I try from some station of OVPN1 it's working, but when I try to connect from different public ip doesn't work.
i cant understand your mean about your situation ...

please give me some information and what you want from this ... ?

if you want only by use Public IP Address redirect to OVPN2 , you can use Destination Nat .
 
User avatar
rezamoghadam
Trainer
Trainer
Posts: 33
Joined: Wed Mar 02, 2011 1:01 pm
Location: Iran , Ahvaz
Contact:

Re: NAT case !

Wed Mar 30, 2011 11:22 am

i think you , in your Rule add Src address .

example :

if you use src : 1.1.1.0/24 in your rule , only Request from 1.1.1.0/24 subnet , match with rule and other source address ( from other Internet or source ) not match and cant be get service and redirect .

you only use dst-address field and blank src-address field .

Who is online

Users browsing this forum: No registered users and 18 guests