Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| userdoc:openvpn_access [2014/11/17 10:07] – droemel | userdoc:openvpn_access [2017/08/10 08:43] (current) – droemel | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Here is a good howto for this: | Here is a good howto for this: | ||
| - | http:// | + | https:// |
| Additionally in AstLinux the following must be done: | Additionally in AstLinux the following must be done: | ||
| * In the Firewall config "Allow OpenVPN Server tunnel to xx LAN Interface" | * In the Firewall config "Allow OpenVPN Server tunnel to xx LAN Interface" | ||
| - | * The iptables rules should be put into "''/ | + | * The iptables rules should be put into ''/ |
| * Because the limited users have still access to the Astlinux server itself, you could either | * Because the limited users have still access to the Astlinux server itself, you could either | ||
| - | * create a Firewall rule like "'' | + | * create a Firewall rule like '' |
| - | * or create another iptables rule: "'' | + | * or create another iptables rule: '' |
| - | * The easy way is to push the internal LAN route in the OpenVPN server config (//push route 192.168.3.0.255.255.255.0 in this case//). | + | * The easy way is to push the internal LAN route in the OpenVPN server config (// |
| - | * The more secure way is NOT to push the route in the OpenVPN server config, but instead push only the relevant allowed destinations in the OpenVPN ccd/client file like "'' | + | * The more secure way is NOT to push the route in the OpenVPN server config, but instead push only the relevant allowed destinations in the OpenVPN ccd/client file like '' |
| === Examples === | === Examples === | ||
| Line 24: | Line 24: | ||
| {{userdoc: | {{userdoc: | ||
| \\ | \\ | ||
| + | |||
| + | !!Note:!! It is very important that Topology "Use Default" | ||
| **/ | **/ | ||
| Line 45: | Line 47: | ||
| ifconfig-push 10.8.1.1 10.8.1.2 | ifconfig-push 10.8.1.1 10.8.1.2 | ||
| - | ;push route 192.168.3.0 255.255.255.0 | + | ;push "route 192.168.3.0 255.255.255.0" |
| **/ | **/ | ||