IPtables и удаленный рабочий стол с прокси

я рекомендовал бы Вам и Вашему боссу настроить rsnapshot вместо этого. это будет давать Вам снимки как часто и возвращение насколько Вам нравится.

0
задан 20 September 2012 в 23:11
1 ответ

To clarify the situation, I'll the machine hosting the virtualbox as the router.

The REDIRECT on the second line states all connections going past the router to be redirected to the router itself. This is probably not what you want.

If you put:

-A PREROUTING -i ppp0 -p tcp --dport 5003 -j DNAT --to 10.0.0.195

then all connections to 10.0.0.183 port 5003 would be forwarded to 10.0.0.195 port 5003. You might also need:

-A POSTROUTING -d 10.0.0.195 -j SNAT

to make sure the reply packets come back to the router. You might also need some FORWARD entries to make it is allowed and possibly net.ipv4.ip_forward=1

0
ответ дан 5 December 2019 в 16:02

Теги

Похожие вопросы