-
I love the look of the features within this container. I have docker running on my server, but not sure what config is required to make this serve to the LAN? I assume the last part is to change my DHCP to put the IP of my server as the gateway? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
In the way how the image is made it is not really easy to be used as a router because it is not the purpose of the image. it includes a lot of iptables rules that make not achieve you what you want. I'm forking the project and I'm going to use it in my router. |
Beta Was this translation helpful? Give feedback.
-
Please let us know, when your fork is online. I'm highly interested in using this image in a router-environment as well. |
Beta Was this translation helpful? Give feedback.
-
I've successfully deployed it and used the container at this state to forward all the traffic of my LAN through it. In my case I've deployed the NordVPN container in a RPI4 which receives the traffic of my LAN having CIDR block It's important you define for the NordVPN container the Then it is necessary to forward all the traffic coming from the LAN through the container. In this case I had to play a bit with Linux firewall and routing tools. Install Create a new route table under Then run the commands:
where then it's time to play with
At this point all the traffic of your LAN will go through the Docker container and it works. I could have forked the project and automate this stuff inside the container but to be honest they are just small stuff and I prefer to automate on my side and follow the release of the project. |
Beta Was this translation helpful? Give feedback.
-
@bubuntux feel free to integrate this instructions to your README so this won't get lost and people wont' open many issues. |
Beta Was this translation helpful? Give feedback.
I've successfully deployed it and used the container at this state to forward all the traffic of my LAN through it.
In my case I've deployed the NordVPN container in a RPI4 which receives the traffic of my LAN having CIDR block
192.168.72.0/28
to theeth0
interface of my RPI4.It's important you define for the NordVPN container the
NETWORK
env variable with your LAN CIDR. In my case the IP above.Then it is necessary to forward all the traffic coming from the LAN through the container.
In this case I had to play a bit with Linux firewall and routing tools.
Install
iproute2
package in your router.Create a new route table under
/etc/iproute2/rf_tables
appending2 nordlynx
Then run the comm…