Skip to main content

All Questions

Tagged with
0 votes
0 answers
36 views

How to create a second GUE tunnel on a different port

How can multiple GUE tunnels be created in the same (default) network namespace with the same remote IP address, but different ports? So far, I've been successfully able to create exactly one GUE ...
randunel's user avatar
  • 101
0 votes
0 answers
72 views

Forcing packets through a TUN interface on Mac?

I am wanting to build a toy VPN server/client. This isn't impossible to setup on Linux due to the beautiful iproute2 package and granular routing control. However, on Mac the experience has been ...
Ryan's user avatar
  • 1
2 votes
1 answer
594 views

How do I get the interface name created with `ip tuntap add mode tap`

I want to create a tap with sudo, and then attach the user space program (ssh) to it. I don't want to hard code the interface name, as multiple users will be using it, so I want the interface name to ...
Gary van der Merwe's user avatar
0 votes
1 answer
1k views

Route all traffic from one interface (default gateway) through OpenVPN / tun0 - policy based routing, dependent on source address/interface

I have a Debian Linux VPN router myvpnserver with 2 interfaces, eno1 and eno2: eno1 is connected to a LAN and an internet router. On this interface with static IP address, myvpnserver has its default ...
MrSnrub's user avatar
  • 135
1 vote
1 answer
492 views

How to configure a GUE receive tunnel in Linux for IPv6

I am trying to configure a GUE tunnel to receive IPv6 packets that contain GUE encapped IPv4 packets but I am having trouble de-encapsulating the packets. The IPv6 packets have a GUE encapsulated ...
Dikshant Adhikari's user avatar
1 vote
1 answer
1k views

How to configure a transmit GUE tunnel using iproute2 for IPv6

I am trying add a transmit GUE tunnel with GRE as the header using IPV6 addresses in linux like this: ip -6 link add name gue1 type ip6gre remote $REMOTE_IPV6 local $LOCAL_IPV6 dev eth0 encap gue ...
Dikshant Adhikari's user avatar
1 vote
1 answer
570 views

Subnets not ping eachother on strongswa vpn tunnel

AOA, I have two clients one remote and other is local but both on same LAN i.e (192.168.137.0/24), while the UBuntu servers in which strongswan is implemented are connected to each other with ethernet ...
MUHAMMAD KASHIF's user avatar
1 vote
0 answers
68 views

Tunnelling IP Multicast traffic between two residential networks or machines

The Ableton Link music synchronization service operates by broadcasting and receiving messages via an IPv4 multicast group in the "Ad-Hoc 2" address block. In order to use the protocol to synchronize ...
s-ol's user avatar
  • 111
2 votes
0 answers
2k views

Replace ip tuntap by /etc/network/interfaces (or how to create a tun interface in /etc/network/interfaces)

I'm using a sh script (pasted below) to create an IPv6 tun interface using iproute with the tun mode. #!/bin/sh # Create a new TUN interface for WPAN interaction. ip -6 tuntap add mode tun tun0 # ...
gromain's user avatar
  • 142
3 votes
0 answers
1k views

Why could policy routing on iptables marks applied in FORWARD or OUTPUT chains be inconsistent?

I am routing HTTPS connections down a SSH tunnel (-w) using iptables marks and iproute2 rules, the reasons I need to do it this way are contrived, to say the least, so most alternate solutions may not ...
DanSut's user avatar
  • 592
2 votes
0 answers
2k views

how to open up socks/SSH on different network interfaces?

iptables -A PREROUTING -i usb0 -t mangle -p tcp --dport 8080 -j MARK --set-mark 1 iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD ...
Jimmy Cummings's user avatar