Score:0

Linux foo-over-udp tunnel creation issues, how to create correctly?

ky flag

on server side:

Load FOU kernel module

modprobe fou

Create IPIP tunnel encapsulated to FOU,

ipip kernel module will be loaded automatically.

ip link add name ipipou0 type ipip
remote 81.25.63.84 local 0.0.0.0
encap fou encap-sport 10000 encap-dport 20001
mode ipip dev ens3

Add FOU listener for this tunnel

ip fou add port 10000 ipproto 4 local 0.0.0.0 dev ens3

Assign IP address to the tunnel

ip address add 172.28.0.0 peer 172.28.0.1 dev ipipou0

Up tunnel

ip link set ipipou0 up

on client side (the client can be behind NAT):

modprobe fou

ip link add name ipipou1 type ipip
remote 193.43.249.255 local 0.0.0.0
encap fou encap-sport 10001 encap-dport 10000 encap-csum
mode ipip dev eth0

Options "local", "peer", "peer_port", "dev" can be not supported

by old kernels and can be skipped.

ip fou add port 10001 ipproto 4
local 0.0.0.0 peer 193.43.249.255 peer_port 10000 dev eth0

ip address add 172.28.0.1 peer 172.28.0.0 dev ipipou1

ip link set ipipou1 up

How do I check that the tunnel is working? will the tunnel work if the home computer does not have a white IP address?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.