Skip to content

Commit

Permalink
Added connection between OpenVPN and Server-switch via gateway IP
Browse files Browse the repository at this point in the history
  • Loading branch information
iArcanic committed Jul 16, 2023
1 parent 46f1c77 commit 4479ca2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OpenVPN.startup
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# IP of OpenVPN
ip addr add 10.0.5.4/24 dev eth0
ip link set up dev eth0

# Gateway IP to Server-switch
ip route add default via 10.0.5.2 dev eth0

0 comments on commit 4479ca2

Please sign in to comment.