很久没用freebsd,最近在装subversion,提示我:
“/usr/ports/Mk/bsd.port.mk”, line 4: warning: ACTION REQUIRED
“/usr/ports/Mk/bsd.port.mk”, line 5: warning: You are using a ports file that originated from CVS!!
“/usr/ports/Mk/bsd.port.mk”, line 6: warning: The FreeBSD project has switched from CVS to SubVersion.
“/usr/ports/Mk/bsd.port.mk”, line 7: warning: This CVS repository is NO LONGER UPDATED! If you see this
yves2005 發表在
痞客邦
留言(0)
人氣()
1.
sudo apt update -y
sudo apt upgrade -y
yves2005 發表在
痞客邦
留言(0)
人氣()
yves2005 發表在
痞客邦
留言(0)
人氣()
1. apt install xl2tpd
2. nano /etc/xl2tpd/xl2tpd.conf
[global]
port = 1701
;auth file = /etc/xl2tpd/l2tp-secrets
yves2005 發表在
痞客邦
留言(0)
人氣()
1. apt install pptp
2. nano /etc/ppp/pptpd-options
3.
ms-dns 192.168.0.1
ms-dns 8.8.8.8
yves2005 發表在
痞客邦
留言(0)
人氣()
1. apt install freeradius
1.1 /etc/freeradius/3.0/certs# make destroycerts && make all
2. /etc/freeradius/3.0# nano users
vpn Cleartext-Password := "vpn"
Reply-Message := "Hello, %{User-Name}"
yves2005 發表在
痞客邦
留言(0)
人氣()
Server config :
auth-user-pass-verify /etc/openvpn/ovpnauth.sh via-file
example : username /password -> user/user
./ovpnauth.sh md5 user
e2fd12987b9a5a06b1a9383dc3edc6c1
yves2005 發表在
痞客邦
留言(0)
人氣()
topology lan (192.168.4.0/24)---wan 192.168.40.80 (openvpn server)--------------------------wan 192.168.40.20 (client) ----- lan (192.168.2.0/24)
Server / Client :
1. Download and run openvpn-install.sh script
wget https://git.io/vpn -O openvpn-install.sh
chmod +x openvpn-install.sh
yves2005 發表在
痞客邦
留言(0)
人氣()
topology :
Site A Site B
Lan(192.168.2.100/24)-----Wan(2001::20) ----------- wan (2001::21)-------Lan(192.168.3.10/24)
Site A:
4in6 insert module:
yves2005 發表在
痞客邦
留言(0)
人氣()
Server :
1. iperf -s -u -B 224.0.0.1 -i 1
Client :
yves2005 發表在
痞客邦
留言(0)
人氣()
os: ubuntu 18.04 lts
install: apt-get install freeradius & openssl
CA 憑證
1.先初始化 index.txt 和 serial 文件
# cd /etc/pki/CA/
yves2005 發表在
痞客邦
留言(0)
人氣()
1. load 802.1q module and install vlan
apt-get install vlan -- if need
modprobe 8021q -must insall it
2. check module
lsmode | grep 8021q
yves2005 發表在
痞客邦
留言(0)
人氣()