Tag Info

New answers tagged

0

I had problem with sshd server rejecting agent forwarding request because of no space left in /tmp. This was because sshd needs to create socket in /tmp. Cleaning disk up resolved my issue. ssh -v said back then: debug1: Remote: Agent forwarding disabled: mkdtemp() failed: No space left on device


1

You need to use the PREROUTING chain to forward port : iptables -t nat -A PREROUTING -p udp -i eth0 -d 192.168.1.2 --dport 1003 -j DNAT --to-destination 192.168.1.2:1004 By the way, it seems filter is happening directly on the target host, so you could use REDIRECT in that case : iptables -t nat -A PREROUTING -i eth0 -d 192.168.1.2 -p udp --dport 1003 -j ...


1

What is that bind address good for? If you have multiple local IP addresses, you can choose one of them to bind the port to.



Top 50 recent answers are included