Jump to content

Проблема с OpenVPN и шлюзом RedHat el5


evgen11

Recommended Posts

Здравствуйте!
Помогите пожалуйста!
Поставил Openvpn на шлюз RedHat el5 .При подключении клиентом Openvpn из интернета к шлюзу пропал интернет на всех машинах внутри сети за шлюзом. Включал переадресацию echo 1 > /proc/sys/net/ipv4/ip_forward и в /etc/sysctl.conf net.ipv4.ip_forward = 1, добавил правило в iptables: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE. Отключил OpenVPN, отключил переадресацию, удалил правило, перегружал сервак. Интернет на локальных машинах не появляется, шлюз пингуется, интернет на шлюзе есть. Что это может быть? Как восстановить доступ к интернету?  Подскажите, очень нужно!

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...