Community discussions

MikroTik App
 
gustamkt
just joined
Topic Author
Posts: 1
Joined: Wed Aug 16, 2023 10:10 pm

Port forwarding over wireguard client interface

Wed Aug 16, 2023 10:27 pm

I have wireguard interface , wg64. example 10.10.10.10, i have PC with wg ip 10.10.10.200.
I have also bridge1 172.30.100.0/24

I want to forward 10.10.10.10:8080 to internal 172.30.100.22:80.

I write /ip/firewall/nat dst-nat
chain=dstnat action=dst-nat to-addresses=172.30.100.22 to-ports=80
protocol=tcp in-interface=wg64 dst-port=8080 log=no log-prefix=""

Please advise how to implement the rules for my case.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19395
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Port forwarding over wireguard client interface

Tue Aug 22, 2023 6:03 pm

Draw a diagram I have no clue how any of these devices are connected either locally or externally. We are not in your mind be much clearer and provide context to such questions.

Who is online

Users browsing this forum: No registered users and 3 guests