Skip to main content

All Questions

Tagged with
2 votes
0 answers
187 views

Mark only the udp traffic above a certain rate using iptables commands

I'm trying to achieve the following scenario: Using the iptables command, mark UDP traffic with destination port 1234 that passes through a Linux router with the recommended DSCP value for Expedited ...
Andres Pasca's user avatar
0 votes
0 answers
165 views

Why do we need multiple iptables?

In man iptables there are 4 tables defined: filter, mangle, nat, raw. And many of them have the same predefined chain. For instance, nat and mangle both have OUTPUT chain. The question is why do we ...
Some Name's user avatar
  • 133
1 vote
0 answers
175 views

RTNETLINK answers: Invalid argument when trying to use avahi-autoipd on Petalinux device

I have an embedded device running PetaLinux that I wish to configure to use avahi-autoipd to use LLA on an interface. I have been trying to do this from the CLI to ensure it works as expected, and I ...
Douglas B's user avatar
  • 141
3 votes
1 answer
1k views

Why does ip/port forwarding not working correctly?

My modem|router model is : TP-LINK TD-W8961ND adsl2+ modem router This is my modem panel page cgn ip address is 100.104.5.98 public ip address is 86.57.91.250 I config nat ip forwarding as follows :...
MH-Rouhani's user avatar
0 votes
1 answer
224 views

Make a remote host have a local IP address with ARP capability(Steam Link)

Currently I have two subnets in the 10.0.0.0/16, which are 10.40.20.0/24, let's say that's A and 10.32.80.0/24, B. My PC is in the subnet A and what I'm going to do is use Steam Link, Oculus Air Link ...
Lyn's user avatar
  • 1
0 votes
0 answers
86 views

Send private client IP using SNAT to my php web server

I have the next topology Topology The clients have a private ip 192.168.0.x And I have two NAT servers The server 1 has an interface with the gateway for the clients with 192.168.1.254 and has an ...
Brandon Garcia's user avatar
0 votes
1 answer
799 views

Raspberry pi with ubuntu: Forwarding all traffic from one interface to another

I have two Raspberry Pis running Ubuntu. Both of them have a native ethernet port and a usb ethernet->usb interface. They are both connected with their native ethernet to the same home router. I ...
salmonMaxx's user avatar
0 votes
0 answers
51 views

SmartDEN Watchdpg without Internet access over Linux PC with IP forward

I explain the assumption: I have a local network, in which the router functions is done by an industrial Linux PC connected to the internet and a VPN; these are the PC data: # sysctl -p net.ipv4....
user avatar
0 votes
1 answer
322 views

Setting a delay between Firecracker microVM tap devices on the same host

I have set up two microVMs using Firecracker on my Ubuntu 18.04 LTS host and have attached a tun/tap device for each of them. Now I'm trying to set a delay between the two VMs (say 100ms) using tc so ...
Tobias Pfandzelter's user avatar
1 vote
1 answer
5k views

Route all traffic through TUN interface

I want all my traffic go through TUN interface. Here is the flowchart So, as you can see, the traffic is routed to TUN iface on 10.0.0.1 address from every program. Then, the program attached to the ...
thedenisnikulin's user avatar
0 votes
3 answers
2k views

cannot ping in private network after changing IP

I have two devices in my private network. One computer has IP 10.42.0.1 the other has IP 10.42.0.173. I can ping from one computer to another and vice-versa. If I want to change IP from 10.42.0.173 to ...
alekq's user avatar
  • 3
1 vote
1 answer
278 views

Route IP Packets with Same Source and Dest IP

I am hand-crafting ethernet packets using socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)), and have successfully sent UDP packets from my PC to my router this way. Using tcpdump on both ends, I can see ...
MooseBoys's user avatar
  • 293
1 vote
1 answer
45 views

configuring a multihomed host as a router

I have two linux hosts on my home network, host1 and host2. I'm trying to configure it so that host1 is connected to a vpn, and host2 can send packets out over the vpn by routing through host1. My ...
Elliot's user avatar
  • 121
0 votes
0 answers
114 views

Internet access from Host-only network

Initial situation I need to share internet between two VMWare images that work within host-only network, where one host would be a server and another a client. I'm working with VMWare Workstation ...
AlGiorgio's user avatar
  • 101
-1 votes
2 answers
786 views

UDP IP Spoofing

I have a Ubuntu VPS in Singapore region and I have players who are going to play in my Indian Tournament. My Indian server accepts only Indian traffic to protect from DDoS. My players want to play ...
Anik Singal's user avatar

15 30 50 per page