태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

The problem was that on my Fedora installation there was no /etc/rc.d/rc.local file
Because of that during the installation of OpenVPN line:
CODE: SELECT ALL
iptables -t nat -A POSTROUTING -s x.x.x.x/24 -j SNAT --to x.x.x.x
could not be add to the /etc/rc.d/rc.local
So after reboot iptables line was not executed and routing did not work correctly.


NAT the VPN client traffic to the Internet. change the ip address mask according to your info of tun0 result while running "ifconfig" command.
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

To save the current configuration,
iptables-save

Posted by 3735943886

댓글을 달아 주세요