Comments (3)
local 1.2.3.4 -> ip addr of the eth
remote 5.6.7.8 -> ip addr of the eth remote peer
unless your local peer has an eth with ip 1.2.3.4 and remote peer with 5.6.7.8 it won't work.
I simple bash i use to bring up l2tpv3, you can use it but adjust to fit your needs.
root@vsrv-bicab-2u:/home/VPN# cat L2TPv3.sh
#!/bin/bash
YELLOW='\033[93m'
GREEN='\033[92m'
END='\033[0m'
echo -e "${GREEN}Removing old L2TPv3 tunnel interface${END}"
ip link set l2tpeth0 down
ip l2tp del session tunnel_id 101 session_id 1001
ip l2tp del tunnel tunnel_id 101
echo -e "${GREEN}Setting up L2TPv3 tunnel interface${END}"
ip l2tp add tunnel tunnel_id 101 peer_tunnel_id 100
encap udp local 192.168.0.239 remote 100.80.1.252
udp_sport 5000 udp_dport 6000
ip l2tp add session tunnel_id 101 session_id 1001
peer_session_id 1000
ip link set l2tpeth0 up mtu 1500
ip addr add 192.168.231.2 peer 192.168.231.1 dev l2tpeth0
ip route add 192.168.231.0/24 dev l2tpeth0
ip l2tp show tunnel
from tunneldigger.
@bennlich I am afraid this is not a great place for such questions about ip l2tp
. I for once have never used manual l2tp tunnels. I'll leave it open a bit more in case someone stumbles upon this, but have you tried StackOverflow? I'd expect more people to be able to help you there.
from tunneldigger.
Thanks @RalfJung and @xbrs1! I have yet to try @xbrs1's suggestion.
Once I get a better understanding of whats going on under the hood of ip l2tp and tunneldigger, I might post here for posterity, but will close for now. (And will link to an SO post if/when I make one.)
from tunneldigger.
Related Issues (20)
- [Docs] max_tunnels HOT 3
- Failed to send() control packet HOT 5
- High CPU load due to a single misbehaving client HOT 2
- Change rate limiting to be per-UUID HOT 1
- No releases since 2017? HOT 3
- The client can get stuck in a high-frequency retry loop despite working brokers HOT 10
- TC/Traffic Control: Error: Invalid handle. HOT 1
- Review CI Tooling HOT 19
- Newer Kernels log error "recv short packet" for every broker packet HOT 7
- How does tunneldigger work compared to l2tp? HOT 5
- TC/Traffic Control does not always work HOT 1
- Proposal: Broker usage check on reconnect
- tunneldigger-broker: connection fails with `Error: Invalid handle.` HOT 3
- Silence `tc` output when `ignore_fails` is true
- teardown script crashes tunneldigger-broker HOT 5
- broker throwing OSError on creation of timers HOT 1
- Frequent reconnection of clients HOT 70
- setup.py is deprecated HOT 4
- Broker: Wait for interface to have an IP before listening HOT 2
- Update CI to ubuntu-22.04
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tunneldigger.