Questions tagged [iproute]

Program to control policy-based routing tables

59 questions
0
votes
1 answer

'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 Is there a way to use brace expansion feature of…
ss3071
  • 33
  • 7
0
votes
1 answer

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 etc...) I would really appreciate it if anyone can…
RV Patel
  • 21
  • 2
0
votes
1 answer

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 only using the external IP (10.110.xx.xx). We…
0
votes
0 answers

SSLStrip + Mitmdump are not working together

I am trying to run Mitmdump and the Sslstrip2 together but they are not working together. Whereas they're both need to listen port 80, I forwarded both applications to unic ports, like following ; For SSLStrip preperation--> iptables -t nat -A…
0
votes
1 answer

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.2.4) Here is my IP Details I am using FreePBX,…
0
votes
1 answer

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 Wifi (SSH to my computer) but I want the application…
Martin Joseph
  • 31
  • 1
  • 4
0
votes
0 answers

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, build 369ce74a3c $ sudo docker-compose…
xibi
  • 101
  • 1
  • 8
0
votes
1 answer

TCP push packet not delivered from tun

I setup simple packet intercept program, using two tuns, setup like this: # ip tuntap add mode tun name tun0 # ip link set tun0 up # ip addr add 10.0.0.0/31 dev tun0 # ip tuntap add mode tun name tun1 # ip link set tun1 up # ip addr add 10.0.1.0/31…
Kyras
  • 63
  • 1
  • 5
0
votes
1 answer

using machinectl as a container manager on a LAN

I have a variety of containers that I would like to spin up on a host, and have them immediately get an IP from my DHCP server, just as my bare metal devices do (phone, laptop, NAS, etc) I would like to be able to destroy these containers at will…
code_monk
  • 9,451
  • 2
  • 42
  • 41
0
votes
1 answer

Why is ipRouteMetric1 affected by ipRouteProto in snmp ipRouteTable?

I am doing a simulation of the network topology. I found that when using the rip protocol, the ipRouteMetric1 value is 1. I use this value to determine the device near the current router. When using the ospf protocol, the value of the nearby router…
trgbishi
  • 55
  • 1
  • 2
  • 10
0
votes
0 answers

Why I got 'Destination Host Unreachable' while ping public IP with ip rules?

This is my IP route config, with IP rules: root@NX-ZWYC-M1F202-A16-HW6865-A-INT-215:~# ip ru show 0: from all lookup local 32764: from all to 172.18.8.215 lookup 1001 32765: from 172.18.8.215 lookup 1001 32766: from all lookup main 32767: from…
batmancn
  • 457
  • 3
  • 15
0
votes
0 answers

Cannot ping local Ubuntu server behind VPN, but SSH locally works fine?

I have a Ubuntu server currently behind an ipvanish VPN, using Openvpn. I can SSH locally to it but I cannot ping it. On the server I'm trying to mount a local Samba drive to the server, but that also doesn't work(I think that has something to do…
Anthony
  • 31
  • 1
  • 1
  • 8
0
votes
1 answer

How do I correctly use named tables with 'ip route'

I'm using this on my server to route any traffic to certain ip over a specific interface ip route add 80.100.141.27/32 via 167.99.208.1 dev eth0 src 10.18.0.10 This works great, traffic to 80.100.141.27 will go over 10.18.0.10 Now to organise these…
bas
  • 628
  • 9
  • 22
0
votes
1 answer

Where does `ss` set up flex input to come from command line arguments?

I heard that ss uses Bison to parse command line arguments. Bison takes input from output Flex. Flex takes input from stdin by default. Where does ss set up flex input to come from command line arguments?
Tim
  • 1
  • 141
  • 372
  • 590
0
votes
1 answer

OpenVPN: Route SquidProxy

I am trying to setup a public squid proxy that routes it's traffic via a VPN server elsewhere in the world. It's running inside a docker container on a VPS host. Using the default settings with push gateway, I can access the squidproxy on the VPS…
Matt H.
  • 31
  • 6