Angryman Posted August 30, 2020 Share Posted August 30, 2020 (edited) Hi All, I am on a quest to get CGNat bypassed through wireguard and a VPS. my journey so far I have access from the vps to my local network working via a ubuntu VM running Unraid with out issue. I can ping my local Lan and can even serve the unraid web GUI. I am also able to connect the a host Docker container tested this on netdata docker. I can also ping the local network inside the dockers The issue I have is trying to connect to the docker container - even when i forward the ports and ip address it just is having none of it. sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination xx.xx.xx.xx:180 sudo iptables -A FORWARD -p tcp -d xx.xx.xx.xx --dport 180 -j ACCEPT I am trying to connect to the user created proxynet network which was done by spaceinvader Here are some ideas not sure how to test these 1 - Docker does not know where to send the data back and is trying to use the router gateway 2 - the Docker needs another network to send an receive the data 3 - Setup another Unraid static route / gateway pointing to the VM IP address I don't know how to do any of those 3 things any help will be welcome ------------------------------ PS: My dockers work fine when traffic is routed on my network via my router ADSL line i have Edited August 31, 2020 by Angryman Quote Link to comment
Angryman Posted August 31, 2020 Author Share Posted August 31, 2020 Please can we close this I have it working now thank you Quote Link to comment
trurl Posted August 31, 2020 Share Posted August 31, 2020 1 minute ago, Angryman said: Please can we close this I have it working now thank you You can edit the first post and add [SOLVED] to the title. You might also help others by telling us all what the solution was. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.