Hi, I have used your script to self host the wireguard vpn.
I need to expose local port on my pc to outside internet (I am behind CGNAT rn) through this vpn tunnel.
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/void
inet [127.0.0.1/32](https://127.0.0.1/32) scope host venet0
valid_lft forever preferred_lft forever
inet [171.xxx.xxx.xxx/24](https://171.XX.XXX.XXX/24) brd [171.xx.xxx.](https://171.XX.XXX.XXX/)xxx scope global venet0:0
valid_lft forever preferred_lft forever
3: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/none
inet [10.8.0.1/24](https://10.8.0.1/24) brd [10.8.0.255](https://10.8.0.255/) scope global tun0
valid_lft forever preferred_lft forever
inet6 fe80::d422:274:f6f5:8985/64 scope link stable-privacy
valid_lft forever preferred_lft forever
15: wg0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1420 qdisc mq state UNKNOWN group default qlen 500
link/none
inet [10.66.66.1/24](https://10.66.66.1/24) scope global wg0
valid_lft forever preferred_lft forever
inet6 fd42:42:42::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::3dd8:9837:1848:9818/64 scope link stable-privacy
valid_lft forever preferred_lft forever
I have tried using Iptables to do this but to no avail. All the methods I have found so far for the usual Kernel installation have failed so far (presumably due to an extra network interface and tunnels due to boringtun)
Hi, I have used your script to self host the wireguard vpn.
I need to expose local port on my pc to outside internet (I am behind CGNAT rn) through this vpn tunnel.
I have tried using Iptables to do this but to no avail. All the methods I have found so far for the usual Kernel installation have failed so far (presumably due to an extra network interface and tunnels due to boringtun)
What can I do now ?