mkell DD-WRT Novice
Joined: 16 May 2023 Posts: 1
|
Posted: Tue May 16, 2023 5:46 Post subject: DD-WRT and Wireguard Port Forwarding with Mullvad |
|
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 |
|