I setup an openvpn, but no LAN access when I connected to VPN
Here is the steps to fix it:
1, logon to openvpn server and check this file
[root@openvpn ~]# cat /proc/sys/net/ipv4/ip_forward
2, if it returns 0, that's the root cause. But you cannot modify this file directly.
3, You need change ip_forward to 1 permanent
open file and change net.ipv4.ip_forward to 1 , about line 7:
[root@openvpn ~]# vim /etc/sysctl.conf
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
4, Reboot the server or you can do this to avoid rebooting
[root@openvpn ~]# sysctl -p
[root@openvpn ~]# sysctl -w net.ipv4.route.flush=1
5, reconnect to you VPN
1, Wrote a shell script to delete two days old index. dave@cm-log-manager:~/tools$ cat delete_ES_index.sh #!/bin/bash yesterday=`/bin...
562 systemctl status elasticsearch.service 563 systemctl daemon-reload 564 systemctl status elasticsearch.service 565 vim /e...
1, download http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Current/E...