What's new

Closed openwrt-openvpn

Status
Not open for further replies.

jknee00

Honorary Poster
Joined
May 9, 2013
Posts
507
Reaction
300
Points
236
do the process for other models and version

happy tunneling
---enjoylife lagn muna----

reqiruirements -
winscp at putty

para malaman kung supported yung router ninyo
punta dito
You do not have permission to view the full content of this post. Log in or register now.

or jus google out your router model and version
exmaple -
940n v6

599687


piliin ang techdata---


heto agn hitsura ng site

599688


para malaman kung paano eh flash yung router or yung processo niya
take a look sa pinaka ma baba

599689


installation method is -- VIA gui oem - webui -- sa mismong webui niya-- usually login ka sa 192.168.0.1 admin/.admin -- punta ka sa firmware upgrade
piliin ang firmware install url -- para sa first upgrade natin

next for the creation of openwrt -openvpn -

punta ka lagn sa site na ito

You do not have permission to view the full content of this post. Log in or register now.

follow image hehehe

599694



599695





para mag kasya si openvpn natin -- simply delete this files

599696



599697



yan delete nyo yan

tapos - ilagay nyo ito sa pinaka mabab


openvpn-mbedtls

then create image ---wait mo hangang matapos


599698



599699


599700




download nyo at ready nyo si winscp

599701


correct format para mapasok nyo yung tplink nyo
walang webui yung 940n natin kaya dito tayu papasok par amag lagay ng config ng vpn---
di ako ang lagay ng luci--para medyo magaan si tplink at di masyado ma stress

----

599702

l

login ka sa winscp lagay mo sa /tmp folder ang firmware mo === i just rename the firmware to sysupgrade.bin

install mo si putty

599703


click mo para ma open si putty
then do this


cd /tmp
sysupgrade -v sysupgrade.bin

then wait

after that

configure natin device for


punta uli sa putty

copy this whole command and right click sa putty - right click means paste
# a new OpenVPN instance:
uci set openvpn.provider=openvpn
uci set openvpn.provider.enabled='1'
uci set openvpn.provider.config='/etc/openvpn/server.ovpn'

# a new network interface for tun:
uci set network.provider=interface
uci set network.provider.proto='static' #dhcp #none
uci set network.provider.ifname='tun0'

# a new firewall zone (for VPN):
uci add firewall zone
uci set firewall.@zone[-1].name='vpn'
uci set firewall.@zone[-1].input='ACCEPT'
uci set firewall.@zone[-1].output='ACCEPT'
uci set firewall.@zone[-1].forward='ACCEPT'
uci set firewall.@zone[-1].masq='1'
uci set firewall.@zone[-1].mtu_fix='1'
uci add_list firewall.@zone[-1].network='provider'

# enable forwarding from LAN to VPN:
uci add firewall forwarding
uci set firewall.@forwarding[-1].src='lan'
uci set firewall.@forwarding[-1].dest='vpn'

# Finally, you should commit UCI changes:
uci commit

uci set wireless.@wifi-iface[0].key='MYVPNROUTER'
uci set wireless.@wifi-iface[0].ssid='enjoylife'
uci set wireless.@wifi-iface[0].encryption='psk'

uci commit wireless
wifi reload

uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi


sa pag lagay ng openvpn

punta lagn sa folder na to

/etc/openvpn/
599705




599706


heto agn format sa loob ng server.ovpn files natin..

for execution or to start openvpn

ito yung command

punta sa putty log in ka

/etc/init.d/openvpn enable
/etc/init.d/openvpn start

punta dito para makita ang- logs

folder - /tmp/openvpn.log

ito yung ginagawa ko noon nag start palang ako way back 2017 god bless--
commect lagn ill be happy to answer.....
 

Attachments

Last edited:
reqiruirements -
winscp at putty

para malaman kung supported yung router ninyo
punta dito
You do not have permission to view the full content of this post. Log in or register now.

or jus google out your router model and version
exmaple -
940n v6

View attachment 599687

usually yung una pinak auna pinipili ko


heto agn hitsura ng site

View attachment 599688

para malaman kung paano eh flash yung router or yung processo niya
take a look sa pinaka ma baba

View attachment 599689

installation method is -- VIA gui oem - webui -- sa mismong webui niya-- usually login ka sa 192.168.0.1 admin/.admin -- punta ka sa firmware upgrade
piliin ang firmware install url -- para sa first upgrade natin

next for the creation of openwrt -openvpn -

punta ka lagn sa site na ito

You do not have permission to view the full content of this post. Log in or register now.

follow image hehehe

View attachment 599694


View attachment 599695




para mag kasya si openvpn natin -- simply delete this files

View attachment 599696


View attachment 599697


yan delete nyo yan

tapos - ilagay nyo ito sa pinaka mababa

openvpn-mbedtls

then create image ---wait mo hangang matapos


View attachment 599698


View attachment 599699

View attachment 599700



download nyo at ready nyo si winscp

View attachment 599701

correct format para mapasok nyo yung tplink nyo
walang webui yung 940n natin kaya dito tayu papasok par amag lagay ng config ng vpn---
di ako ang lagay ng luci--para medyo magaan si tplink at di masyado ma stress

----

View attachment 599702

l

login ka sa winscp lagay mo sa /tmp folder ang firmware mo === i just rename the firmware to sysupgrade.bin

install mo si putty

View attachment 599703

click mo para ma openvpn si putty
then do this


cd /tmp
sysupgrade -v sysupgrade.bin

then wait

after that

configure natin device for


punta uli sa putty

copy this whole command and right click sa putty - right click means paste
# a new OpenVPN instance:
uci set openvpn.provider=openvpn
uci set openvpn.provider.enabled='1'
uci set openvpn.provider.config='/etc/openvpn/server.ovpn'

# a new network interface for tun:
uci set network.provider=interface
uci set network.provider.proto='static' #dhcp #none
uci set network.provider.ifname='tun0'

# a new firewall zone (for VPN):
uci add firewall zone
uci set firewall.@zone[-1].name='vpn'
uci set firewall.@zone[-1].input='ACCEPT'
uci set firewall.@zone[-1].output='ACCEPT'
uci set firewall.@zone[-1].forward='ACCEPT'
uci set firewall.@zone[-1].masq='1'
uci set firewall.@zone[-1].mtu_fix='1'
uci add_list firewall.@zone[-1].network='provider'

# enable forwarding from LAN to VPN:
uci add firewall forwarding
uci set firewall.@forwarding[-1].src='lan'
uci set firewall.@forwarding[-1].dest='vpn'

# Finally, you should commit UCI changes:
uci commit

uci set wireless.@wifi-iface[0].key='MYVPNROUTER'
uci set wireless.@wifi-iface[0].ssid='enjoylife'
uci set wireless.@wifi-iface[0].encryption='psk'

uci commit wireless
wifi reload

uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi


sa pag lagay ng openvpn

punta lagn sa folder na to

/etc/openvpn/
View attachment 599705



View attachment 599706

heto agn format sa loob ng server.ovpn files natin..

for execution or to start openvpn

ito yung command

punta sa putty log in ka

/etc/init.d/openvpn enable
/etc/init.d/openvpn start

punta dito para makita ang logs

folder - /tmp/openvpn.log

ito yung ginagawa ko noon nag start palang ako way back 2017 god bless--
comment lagn ill be happy to answer.....
 
Thank you sa Tut Sir, mukhang irereformat ko ulit OpenWRT TP link ko, ayaw gumana nng openvpn luci app XD
 
pm me stunnel hahahahahah
natry ko lagyan ng stunnel dun sa edit packages, pero wlang lumabas na sys-update bin file. hehe.
pero yung openvpn lang meron xang bin file.
TP-link mr 3220 v2 yung router pala boss. di ko lang alam baka kasi 4mb flash lng yung router.
 
actuall
natry ko lagyan ng stunnel dun sa edit packages, pero wlang lumabas na sys-update bin file. hehe.
pero yung openvpn lang meron xang bin file.
TP-link mr 3220 v2 yung router pala boss. di ko lang alam baka kasi 4mb flash lng yung router.

actually boss malaki ang size ne stunnel kaya walagn lumabas......
me tweaks ako jan for stunnel......pm me.. po
 
TS, ngayon lang ako nagkatime paglaruan ang tplink ko. hehe.
napagana ko po and confirmed working yung instructions dito. although nagkabaligtad yung wifi ssid and pass sa example mo. hehe.
observe ko pa to kasi mukhang mabagal speed ng router compared sa 936 modem with openvpn.

nga pala boss, pwede po ba iset as wireless repeater + openvpn to? para wala ng cable2. hehe

maraming salamat po sa Tuts mo!
 
google nyo lang to

goto google lede - ladus then model ng tplink nyo marami pag pilian na firmware
 
pwede --- gawin openwrt si raspberry

heto yung openwrt ko na mikrotik
upload - delete config me ssl support pa at sofether ---
for mikrotik lagn ito
sa tplinks naman
ssl at openvpn lang
View attachment 664246
sir meron ka po diyan ui para sa tplink niyang ssl saka openvpn? medyo hassle na paulit ulit na pasukin via ssh. hehe salamat po.
 
Status
Not open for further replies.
Back
Top