53 questions
1 vote
0 answers
23 views
How to add flags or marks to tcp net.connect() for later ip rule based routing
In my network I have multiple endpoints (devices) behind multiple vpn edge routers. The edge routers have all different ip addresses. The endpoints (devices) behind the egde routers have all the same ...
1 vote
0 answers
26 views
Programmatically add qdiscs and filters using either netlink or iproute2
I have been trying to add qdiscs and filters on an interface, and I can successfully do so by calling the tc command on the terminal. I can also achieve what I want by calling system(tc...) in my cpp ...
0 votes
1 answer
286 views
Android NetUtils Wrapper: How do I add a SELinux Policy to use system/bin/ip-wrapper-1.0
I am wanting to route traffic on the android app I am developing, though I am having trouble accessing the ip tables on the kernel. I am not sure if this is even supposed to be accessible for normal ...
-1 votes
1 answer
2k views
Installing traffic control on a docker container
I'm trying to use traffic control (tc) in my docker container. However it does not find it. I have installed iproute with yum yum install iproute -y I thought it should include traffic control (tc) ...
3 votes
0 answers
2k views
How to route local traffic over WiFi and everything else using the mobile data interface on android?
I have a rooted android 13 phone(oneplus 10 pro) and at home I have a local WiFi network used for smart home devices NAS and CCTV this network is not connected to the internet. If I connect to this ...
0 votes
0 answers
2k views
Error: Specified qdisc not found with tc inside docker
I am trying to use tc to emulate network conditions inside docker containers. My linux is an ubuntu 20.04 LTS inside WSL2. For this, I am running the container with docker run -it --cap-add=NET_ADMIN ...
0 votes
1 answer
1k views
'ip link set' command on multiple interfaces. Using brace expansion for enumerating interfaces
I'm trying to set the link up using 'ip link set' command. But I need to type this for each interface as below. ip link set ens1f0 up ip link set ens1f1 up ip link set ens1f2 up ip link set ens1f3 up ...
1 vote
1 answer
3k views
Using Charles Proxy how do you change your IP address (Making it look like it's from another country)
I have a requirement where I have to route traffic from different countries to mobile application. I want traffic coming from different countries IP addresses to mobile application. (USA, Australia ...
1 vote
1 answer
2k views
Multiple IPs from ISP with DHCP. (OpenWRT or iproute2, macvlan???)
Problem: I want 2 IPs so that I can run two servers on my LAN. Apparently my ISP doesn't allow static IPs and I need to use DHCP to obtain my second IP. What I have learned so far: In order to get ...
0 votes
1 answer
2k views
route kubernetes pod outgoing traffic for a specific IP and port
We have a pod which is trying to reach an IP (192.168.xx.xx) which is out side the kubernetes cluster. IP its trying to reach is the the Internal IP of an external entity which can be reached normally ...
-1 votes
1 answer
516 views
Anycast/ECMP not working with iproute2/netlink between network namespaces
I am attempting to validate ECMP functionality on a linux host with unnumbered interfaces and network namespaces. The following example can be used to demonstrate: # add address to loopback for ...
-1 votes
1 answer
1k views
Multiple SIP Trunk with Single SBC IP - FreePBX
Help me to configure 3 SIP Trunks (200 Channels per Trunk) from Telco, Where all the 3 SIP has different outbound Caller ID and all the Three trunks needs to route via Single Private / SBC IP (100.0....
0 votes
1 answer
108 views
Configuring NetworkManager to route local wlan data over WiFi for debugging when cellular connection is active
Hi this is on Raspbian buster and NetworkManager 1.10.0 but it is a network manager question mostly I think. My application has a Wifi and a cellular network connection. When I am debugging I use ...
1 vote
1 answer
2k views
Enable 'tc' of iproute2 package on YOCTO
We're trying to enable Traffic Control (tc) on YOCTO (warrior dist.), while it seems that tc was indeed built into the YOCTO image, when trying to apply a tc filter command we're getting this error: ...
0 votes
0 answers
3k views
Add a route to Docker network macvlan to connect on both local and VPN
My aim is that the docker container gets an IP different from server IP it is hosted on AND is reachable from VPN client My server hosting docker config: $ sudo docker -v Docker version 19.03.6, ...