mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	FAQ - Added how to set up part of the routing
# Implements Updated `FAQ.md` - Added how to set only some of the traffic to go through the VPN and the rest using the normal connection
This commit is contained in:
		
							
								
								
									
										11
									
								
								FAQ.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								FAQ.md
									
									
									
									
									
								
							| @@ -124,3 +124,14 @@ for i in ${userlist[@]};do | ||||
|     MENU_OPTION=1 CLIENT=$i PASS=1 ./openvpn-install.sh | ||||
| done | ||||
| ``` | ||||
| --- | ||||
|  | ||||
| **Q:** For my clients - I want to set my internal network to pass through the VPN and the rest to go through my internet? | ||||
|  | ||||
| **A:** You would need to edit the `.ovpn` file. You can edit the template out of which those files are created by editing `/etc/openvpn/client-template.txt` file and adding | ||||
|  | ||||
|  ```sh | ||||
| route-nopull | ||||
| route 10.0.0.0 255.0.0.0 | ||||
| ``` | ||||
| So for example - here it would route all traffic of `10.0.0.0/8` to the vpn. And the rest through the internet. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gal Bracha
					Gal Bracha