Anyone successfully using tun2tap for network tunneling? Need advice!

8 Replies, 1870 Views

tun2tap can be a pain, but it’s powerful once you figure it out. I had the same issue with packets disappearing, and it was because I didn’t set the IP address on the tap interface correctly.

Try this:
`ifconfig tap0 192.168.1.1 netmask 255.255.255.0 up`
Then check your routes with `ip route`.

If you’re still stuck, maybe try `sshuttle`? It’s not the same as tun2tap, but it’s great for tunneling and way easier to set up.

Messages In This Thread



Users browsing this thread: 2 Guest(s)