All Questions
2
questions
1
vote
1
answer
286
views
Route IP Packets with Same Source and Dest IP
I am hand-crafting ethernet packets using socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)), and have successfully sent UDP packets from my PC to my router this way. Using tcpdump on both ends, I can see ...
1
vote
1
answer
5k
views
Route all traffic through TUN interface
I want all my traffic go through TUN interface.
Here is the flowchart
So, as you can see, the traffic is routed to TUN iface on 10.0.0.1 address from every program. Then, the program attached to the ...