Сервер Ubuntu, действующий как два интерфейсных маршрутизатора

Я предложил бы, чтобы Вы запустили путем чтения сообщения и действия на него. Особенно бит, где это говорит:

fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter`.
1
задан 10 July 2012 в 22:16
2 ответа

The problem is that the router you are trying to contact doesn't know how to route the packets back to the laptop, since it doesn't know about the 192.168.0.0/24 subnet. The packets from the laptop arrive at the router, but the response packets either get sent to the wrong place (the Internet), or don't get sent at all.

You need to configure the router with a static route for 192.168.0.0/24 via 192.168.0.200. Doing this depends on the specific router you have, but look through the web interface for a section about routing.

1
ответ дан 4 December 2019 в 01:03

Чтобы Linux мог маршрутизировать пакеты между интерфейсами, включите маршрутизацию IPv4, выполнив следующую команду:

sysctl -w net.ipv4.ip_forward=1

Чтобы сделать это изменение постоянным, добавьте его в /etc/sysctl.conf :

net.ipv4.ip_forward = 1
0
ответ дан 4 December 2019 в 01:03

Теги

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