1 vote

Blocking UDP port 140 from receiving packets from source port 8989 (active way to send signal to sender that is unreachable)

/sbin/iptables -A .... If you add this rule at the end of the chain then whether it is applied depends on the entries before it in the chain. Use '-I' to put it at the start of the chain. If you want ...
user avatar
  • 4,285
1 vote
Accepted

Linux packet mark across network namespaces

is packet marking only local to the network namespace the mark is being placed in? Yes. the mark is local to the network namespace. Each namespace has an independent network stack, so when a packet ...
user avatar
  • 25k
1 vote
Accepted

iptables "invalid port/service" returned when trying to do multiple ports

man iptables-extensions -m multiport [!] --destination-ports,--dports port[,port|,port:port]... Match if the destination port is one of the given ports. The flag --...
user avatar
1 vote

Force specific outbound IP for specific ASN

This ASN is cPanel, which exposes two prefixes: 184.94.192.0/20 208.74.120.0/21 If an address 192.0.2.111 is assigned to eth0 and the gateway behind that interface is 192.0.2.1, you may add following ...
user avatar
1 vote
Accepted

Forwarding all traffic

The solution: Configure the Raspi with netplan Enable ip-forwarding on the Raspi Add a NAT rule on the Raspi Configure the client with correct IP Address Details are in the comments.
user avatar
  • 2,012

Only top scored, non community-wiki answers of a minimum length are eligible