egc112 / OpenWRT-OpenVPN-scramble

6 stars 5 forks source link

I need help, I couldn't find this folder (feeds/packages/net/openvpn/patches) in my router #1

Open birdycoachingeg opened 8 months ago

birdycoachingeg commented 8 months ago

I'm new to openwrt system installed in TP-Link Archer C7 v5 router I have installed openvpn-openssl but when accessing my openwrt to copy 2.5 folder files I can't find feeds/packages/net/openvpn/patches How could I fix this problem please?

egc112 commented 8 months ago

These patches are for when you compile your own build, they do not run on existing firmware. https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem

birdycoachingeg commented 8 months ago

hi my brother, after compiling my own build and uploading ovpn file and all the steps there to allow vpn in firewall https://support.surfshark.com/hc/en-us/articles/13114753629970-How-to-set-up-OpenVPN-on-OpenWRT-using-the-router-s-web-interface Screenshot 2024-01-01 112218

after pressing start, it started but my ip still the same not changed what is the problem there ? and I really need to say thanks for your help and also your great effort here

egc112 commented 8 months ago

the log usually will show what is the problem, from the command line use: logread But these questions can better be answered on the openwrt forum, I suggest you make a new thread about your openvpn setup in this forum: https://forum.openwrt.org/c/general/6

birdycoachingeg commented 8 months ago

okay my friend I will but how to make sure that scramble option is successfully added to my router setup because I guess the problem may be from it because my country blocked openvpn and I must use scramble option to get rid of it

birdycoachingeg commented 8 months ago

when run strings /usr/sbin/openvpn | grep scramble in putty this message appears to me

scramble WARNING: No recognized 'scramble' method specified; using 'scramble xormask "%s"' No recognized 'scramble' method specified or extra parameters for 'scramble'

scramble is not loaded, right?

egc112 commented 8 months ago

scramble is not enabled by default. You have to add one of the scramble options in your openvpn config e.g.: scramble xormask "password"

As outlined in the instructions

First setup with scramble disabled (so no scramble options in the config) and if that works enable scramble options on both client and server