-
Fototrend
Xiaomi AX3600 WiFi 6 AIoT Router
Új hozzászólás Aktív témák
-
wwenigma
Jómunkásember
válasz
wwenigma
#6446
üzenetére
Az AX3600-on futó OpenVPN szerverhez a client.ovpn filet létrehozzuk az alábbi tartalommal, Notepad++ javasolt:
dev tun
tls-clientremote <IP or DNS name> 1194
tls-auth ta.key 1
cipher AES-256-CBC
auth SHA256key-direction 1
remote-cert-tls server
# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)#float
# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)redirect-gateway
# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.#dhcp-option DNS DNS_IP_ADDRESS
pull# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udpca ca.crt
cert my-client.crt
key my-client.keycomp-lzo
reneg-sec 0
Ha minden igaz akkor e mellé a file mellé szükséges rakni a ta.key ca.crt my-client.crt és my-client.key file-okat a csatlakozáshoz, én magába a file-ba szoktam belemásolni a tartalmukat az alábbiak szerint:
tls-auth ta.key 1 helyett:
<tls-auth>
ta.key file tartalma
</tls-auth>ca ca.crt helyett:
<ca>
ca.crt file tartalma
</ca>cert my-client.crt helyett:
<cert>
my-client.crt file tartalma
</cert>key my-client.key helyett:
<key>
my-client.key file tartalma
</key>Ez utóbbi esetben az így született file-t beadagoljuk pl. az OpenVPN Connect alkalmazásba és máris csatlakozhatunk.

Ne felejtsük el megadni a szerverünk IP címét / DNS nevét a file-ban! A routerünk pl. kiválóan kezeli a noip.com-os dinamikus DNS neveket.
Új hozzászólás Aktív témák
- Fachixy FC-100 fejhallgató mikrofonnal / 12 hó jótállás
- iPhone 13 Pro Max 128GB 100% (1 év Garancia)
- HIBÁTLAN iPhone 13 mini 256GB Pink -1 ÉV GARANCIA - Kártyafüggetlen, MS3440, 90% Akkumulátor
- HP ProDesk 600 G4 i5-8100 16GB 512GB 1 év garancia
- Samsung Galaxy A23 5G 128GB, Kártyafüggetlen, 1 Év Garanciával
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: ATW Internet Kft.
Város: Budapest
trance89
