터널링 (ipip, gre) 리눅스 리눅스 터널링 (아래는 고정아이피에서만 가능, 암호화 되지 않음) mode ipip : IPIP (속도빠름)mode gre : GRE (Cisco 호환) [VPN CLIENT] ip tunnel add ipip0 mode ipip local 클라이언트공인아이피 remote 서버공인아이피 ttl 255ip link set ipip0 upip addr add 192.168.10.1/30 dev ipip0echo 0 >/proc/sys/net/ipv4/conf/ipip0/rp_filter [VPN SERVER] ip tunnel add ipip0 mode ipip local 서버공인아이피 remote 클라이언트공인아이피 ttl 255ip link set ipip0 upip ..
PPTP 모듈 활성화 modprobe nf_nat_proto_gremodprobe nf_nat_pptpmodprobe nf_conntrack_proto_gremodprobe nf_conntrack_pptp iptables 설정 iptables -t nat -A PREROUTING -d [들어오는아이피] -j DNAT --to-destination [보낼아이피]iptables -t nat -A POSTROUTING -d [보낼아이피] -j SNAT --to-source [변경시킬소스아이피] 1: -d 로 들어오는 연결을 --to-destin~ 아이피로 보내라2: 아이피를 보낼때 소스아이피는 이걸로 해서 보내라
- Total
- Today
- Yesterday
- SSL
- ntp
- OpenVPN
- Apache
- centOS7
- kvm
- 인증서
- php
- HAProxy
- mariadb
- glusterfs
- MySQL
- L2TP
- cURL
- galera
- gitlab
- GeoIP
- virtualbox
- WAF
- softether
- yum
- IPSEC
- pptp
- mod_security
- iptables
- ssh
- 베이어다이나믹
- centos8
- NGINX
- 리눅스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |