All Questions
17 questions
0
votes
1
answer
72
views
How to make TUN device accept incoming packets?
I'm working on the simple VPN server project for iOS.
iOS sends intercepted packets to Go server with UDP connection, then those packets are injected into the TUN device.
Go server workflow:
Create ...
0
votes
0
answers
2k
views
tun2socks configuration not working
I am trying to configure a tun2socks server that forwards all traffic to an external proxy found online. I also want to retain the ability to ssh into the server so I had to take this into ...
2
votes
0
answers
187
views
Is there a tool I can use to test out multiple vpn tunnels in one machine?
I use wget -q -O https://checkmyip.com/csv to determine if I am connected to a VPN but I want to verify multiple VPN tunnels on the same machine. Is there a tool that can allow me to send a command ...
0
votes
1
answer
1k
views
Unable to connect VPN client to OpenVPN server running Ubuntu 16.04.6
im a bit new to Linux and also rather stuck with this... any help here would be much appreciated...
I am running Ubuntu 16.0.4 on my server and trying to connect a client to it but no luck. The ...
0
votes
1
answer
2k
views
tun/tap works on incoming or outgoing packet?
When we create a tun virtual interface we use read and write to read and write packets from/into network stack. My question is when we use .read, we are actually reading outgoing packets (the packets ...
0
votes
1
answer
330
views
what is difference between simple TUN and VPNs like PPTP and L2TP
In respect of VPNs and tunneling, as far as i know, TUN is a virtual interface works on network Layer 3 (IP packets), and is nothing more than a simple more likely UDP socket link in practice (I think)...
0
votes
1
answer
43
views
Endpoint to security gateway tunnel
I want to establish a connection between the client and the proxy server through a VPN tunnel in android device.
I want to do this at layer 2 or 3 , where a packet can captured and encrypted.
Please ...
5
votes
3
answers
648
views
How do VPN servers/clients avoid routing their own remote connection packets through themself?
I am trying to conceptualise how networking works under the hood for linux VPNs which use TUN interfaces.
My current best guess is as follows (please correct me):
Connection established to remote ...
1
vote
0
answers
788
views
Direct all traffic between Eth0:1 interface and VPN Tun0
If answered correctly this question will show you how to link a 2nd public IP address on a machine to a VPN server tunnel on that machine, so that the remote VPN client (running a server), sees this ...
1
vote
1
answer
206
views
Setup openvpn as interface device only
I just setup OpenVPN client using this guide on The Geek Stuff
But now (somewhat as expected) all my traffic is routed through the VPN.
I actually just want to set up the interface device.
Does ...
1
vote
0
answers
725
views
TUN/TAP VPN no internet connection
I have set up a tun/tap vpn to a VPS. For this, I created a 10/24 network and gave the server the IP 10.0.0.100 and my client got 10.0.0.200.
I can now successfully ping the server / access my mail ...
0
votes
1
answer
4k
views
Simple iptables port forwarding with masquerading not working
I'm trying to set up a simple VPN server on EC2 (Ubuntu 12.04) with the Android example ToyVpnServer. Its instructions:
// There are several ways to play with this program. Here we just give an
// ...
3
votes
1
answer
3k
views
Route packets from one VPN to another
I have two OpenVPN servers (10.8.0.0 and 10.9.0.0) set up on my OpenSUSE server. Within one network, each computer is visible to any other one, but I'd like to make it so that computers are visible ...
1
vote
1
answer
3k
views
why tun interface in openvpn
can anyone tell me the use of tun interface in openvpn?
as far as i read, it is used to tunnel all the traffic from the PC over the ssl tunnel.
But incase of VPN, i suppose all the traffic initiated ...
4
votes
1
answer
14k
views
OpenVPN Cannot allocate TUN/TAP dev dynamically
OpenVPN clients work fine when they're started by /etc/init.d/openvpn for the first time, but they can't reconnect if the master server is restarted.
This is the error I get in syslog:
ovpn-openvpn[...
3
votes
3
answers
30k
views
OpenVPN error "Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)"
Hi I get the following error when I try to run openvpn in my Ubuntu Server
Fri Jan 8 02:12:59 2010 OpenVPN 2.1_rc11 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Mar 9 2009
Fri Jan 8 ...
120
votes
11
answers
296k
views
Should I use tap or tun for openvpn?
What are the differences between using dev tap and dev tun for openvpn? I know the different modes cannot inter-operate. What is the technical differences, other then just layer 2 vs 3 operation. ...