Hairpin conflicts with VPN vice versa
Posted: Sat Feb 08, 2014 9:40 pm
I managed to get hairpin nat working and i managed to get VPN working.
Only thing is i can't use them together...
I checked all my NAT rules and this rule which i need for my hairpin nat is causing the problem:
where 1.1.1.1 is my public-ip-adress and 192.168.0.4 is the ip-adress i want to connect to.
If i enable this rule i can't get a vpn connection, but hairpin nat works.
If i disable this rule vpn works but hairpin not.
I think i need some additional rules, but i have no clue which ones?
Only thing is i can't use them together...
I checked all my NAT rules and this rule which i need for my hairpin nat is causing the problem:
Code: Select all
/ip firewall nat
chain=dstnat add action=dst-nat dst-addresses=1.1.1.1 to-addresses=192.168.0.4
If i enable this rule i can't get a vpn connection, but hairpin nat works.
If i disable this rule vpn works but hairpin not.
I think i need some additional rules, but i have no clue which ones?