Skip to content

How to use as a router for my LAN #237

Answered by mazzy89
zane-shus asked this question in Q&A
Discussion options

You must be logged in to vote

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 the eth0 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 appending 2 nordlynx

Then run the comm…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@trablin45
Comment options

Answer selected by bubuntux
Comment options

You must be logged in to vote
1 reply
@cmcooper1980
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request help wanted Extra attention is needed
4 participants
Converted from issue

This discussion was converted from issue #211 on August 10, 2021 19:38.