Question: N 8 . 5 . When we use VPN to reach Facebook, which is blocked by our firewall, we route our Facebook - bound packets

N8.5. When we use VPN to reach Facebook, which is blocked by our firewall, we route our
Facebook-bound packets towards the TUN interface to reach the VPN server via the
tunnel. The VPN server will route our packets towards Facebook (via the Internet).
When Facebook sends reply to us, will the packet be sent directly to us (i.e., without
going through the tunnel), or to the VPN server (and then go through the tunnel)?
Please explain why.
N8.6. A website in California only allows machines in California to access it. The way how
it enforces the rule is to check whether a visitor's IP address is from California or not.
You live in Carbondale, IL, and you desperately want to visit this website. Please
describe how you can do it.
N8.7. The following code snippet creates a TUN interface. What are the possible names of
this interface?
tun =os.open(?devnettun,os.ORDWR)
ifr = struct.pack('16sH', b'abc%d',IFFTUN|IFFNOPI)
ifnamebytes =fcntl.ioctl(tun, TUNSETIFF, ifr)
N8.9. When we read data from the TUN interface, which of the following is most likely the
first byte of the data: (A)012,(B)023,(C)034,(D)045,(E)056?
N8.10. The "ip route" command shows the following results.
What will be the source IP of each packet if we send the packet to the following ad-
dresses, respectively.
1.1.1.1
10.0.5.9
192.168.53.7
10.0.6.6
N8.11. On the VPN server, why do we need to turn on the IP forwarding?
N8.12. After setting up the VPN, we run tcpdump to monitor the traffic on all the
interfaces (lo, tun 0, and eth0). We see the following packets. Please describe
which interface each of the packets come from.
N 8 . 5 . When we use VPN to reach Facebook,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!