Simply question - Port forward


#1

Hi,

I have “litle” problem with port forward in vyos/vyatta. I wan’t redirect traffic from only one host to another, but my rule dosen’t work (in proxy server zero incoming connection from host. This is specific situation, beacause i use in 192.168.1.134 freenx and i want use external proxy server for web traffic.

192.168.1.134:80(tcp)->192.168.1.133:80(proxy server) , so i configure dnat in vyos:

destination {
address 192.168.1.1
port 80
}
inbound-interface eth0 - gateway to network 192.168.1.0/24
source {
address 192.168.1.134
port 80
}
translation {
address 192.168.1.133
port 80
}

I thinks, mayby is problem with my reasoning and logic not badly configuration ?

p.s i put new thread in wrong forum, sorry for that


#2

Anybody resolved that problem ?
Because I have the same situation … need help.


#3

Post your config - it is unclear which interfaces see this traffic.

Note that if the vyos eth0 is 192.168.1.1/24, other systems on that switch on 192.168.1.0/24 trying to reach 192.168.1.134 won’t even go thru the vyos - they will simply arp for 192.168.1.134 and send the packets directly. But I am not sure that is your problem.