DD-WRT and Wireguard Port Forwarding with Mullvad

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
mkell
DD-WRT Novice


Joined: 16 May 2023
Posts: 1

PostPosted: Tue May 16, 2023 5:46    Post subject: DD-WRT and Wireguard Port Forwarding with Mullvad Reply with quote
Hello everyone,
I use Mullvad VPN with Wireguard on my router WRT1900ACL.
I would like to release services from within my network (web server) to the outside via Wireguard.

I followed the Mullvad Port Forwarding guide and added the following firewall rule. (found in board)


ext_port=55158
int_port=30761
int_ip=192.168.1.131
iptables -t nat -I PREROUTING -p tcp -d $(nvram get oet1_ipaddr) --dport $ext_port -j DNAT --to $int_ip:$int_port
iptables -I FORWARD -p tcp -d $int_ip --dport $int_port -j ACCEPT


When I check if the port is reachable on mullvad's website, it says: Port is reachable.
https://mullvad.net/de/check

Somehow the NAT doesn't seem to work.
When I enter my Mullvad public IP + Mullvad port, I can't reach my internal services.

I spent a long time on this. Unfortunately I could not solve the problem.
Does anyone have enough knowledge to please help me
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum