NAT case !

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 !

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 .

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 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 .