» vpn の記事

~ centos IPSEC/L2TP VPN SERVER and bridge Lan ~

connie 2018.04.17 | centos | | No Comments

if Router Subnet 192.222.222.0
wget https://git.io/vpnsetup-centos -O vpnsetup.sh && sudo sh vpnsetup.sh

nano /etc/ipsec.conf

virtual-private=%v4:10.0.0.0/8,%v4:192.222.222.0/16,%v4:172.16.0.0/12,%v4:!192.222.222.0/24,%v4:!192.222.222.0/24

rightaddresspool=192.222.222.10-192.222.222.20

nano /etc/xl2tpd/xl2tpd.conf

ip range = 192.222.222.10-192.222.222.20
local ip = 192.222.222.2

iptables -t nat -A POSTROUTING -s 192.222.222.0/24 -o eth0 -j MASQUERADE
ip6tables-save

=============
Router Port forward 1701,500,4500 to vpn server

~ using itune network sharing via vpn ~

connie 2016.10.20 | itune | | No Comments

Download Bonjour Beacon

HOSTIP 輸入lan IP

protocol/port:_daap._tcp/3689

password:false

press Add News, 下方Actions press start

 

%e6%93%b7%e5%8f%96

| HOME |

Smiley face

March 2024
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31