Skip to main content
Bumped by Community user
Minor formatting; edited tags
Source Link
Chris Davies
  • 128.1k
  • 16
  • 178
  • 323

I took the material from [enter link description here][1]how to understand the routing table on an OpenVPN client.

  1. TCP packets via tun0

    TCP packets via tun0
  2. UDP OpenVPN packets via 54.202.18.143 (public VPN IP)

    UDP OpenVPN packets via 54.202.18.143 (public VPN IP)
  1. Why OpenVPN need this line? 54.202.18.143 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0

    Why does OpenVPN need this line: 54.202.18.143 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0?
  2. Which packets are going through the tun0?

    Which packets are going through the tun0?
  3. Which packets are going through the 54.202.18.143?

    Which packets are going through the 54.202.18.143?

Thanks for your help! [1]: how to understand the routing table on an OpenVPN client

I took the material from [enter link description here][1].

  1. TCP packets via tun0

  2. UDP OpenVPN packets via 54.202.18.143 (public VPN IP)

  1. Why OpenVPN need this line? 54.202.18.143 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0

  2. Which packets are going through the tun0?

  3. Which packets are going through the 54.202.18.143?

Thanks for your help! [1]: how to understand the routing table on an OpenVPN client

I took the material from how to understand the routing table on an OpenVPN client.

  1. TCP packets via tun0
  2. UDP OpenVPN packets via 54.202.18.143 (public VPN IP)
  1. Why does OpenVPN need this line: 54.202.18.143 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0?
  2. Which packets are going through the tun0?
  3. Which packets are going through the 54.202.18.143?

Thanks for your help!

Source Link
Vova
  • 1
  • 1

Understanding Routing Table with OpenVPN

I took the material from [enter link description here][1].

Here is the route table:

# route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.8.0.5        0.0.0.0         255.255.255.255 UH    0      0        0 tun0
10.8.0.1        10.8.0.5        255.255.255.255 UGH   0      0        0 tun0
54.202.18.143   10.0.2.2        255.255.255.255 UGH   0      0        0 eth0
10.0.2.0        0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         10.8.0.5        128.0.0.0       UG    0      0        0 tun0
128.0.0.0       10.8.0.5        128.0.0.0       UG    0      0        0 tun0
0.0.0.0         10.0.2.2        0.0.0.0         UG    0      0        0 eth0

I configured the OpenVPN, and I am confusing about two things:

  1. TCP packets via tun0

  2. UDP OpenVPN packets via 54.202.18.143 (public VPN IP)

Question:

  1. Why OpenVPN need this line? 54.202.18.143 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0

  2. Which packets are going through the tun0?

  3. Which packets are going through the 54.202.18.143?

Thanks for your help! [1]: how to understand the routing table on an OpenVPN client