我试图用openvpnconfiguration我的fedora服务器(fc26),以redirect我的手机(galaxy S6 edge with Android 7.0 stock)的互联网/局域网stream量。
我遵循互联网上的一些教程,但我仍然有一个问题。 所有的命令都是关于iptables的,但是我想用firewalld。
我的手机和服务器之间的连接运行良好,但是当我尝试上网时,什么也没有…
我会在这里使用的configuration:
服务器conf:
port 1194 proto udp dev tun ca CA cert CRT key KEY dh dh.pem server 10.8.0.0 255.255.255.0 ifconfig-poll-persist ipp.txt push "redirect-gateway def1 bypass-dhcp" push "dhcp-option DNS 208.67.222.222" push "dhcp-option DNS 208.67.220.220" client-to-client keepalive 10 120 cipher AES-256-CBC persist-key persist-tun status openvpn-status.log verb 3 exlicit-exit-notify 1
Firewall-cmd –list-all
FedoraServer (active) target: default icmp-block-inversion: no interfaces: enp63s0 sources: services: samba samba-client dhcpv6-client https ssh sickbeard aria2 openvpn ports: 32469/tcp 32400/tcp 32401/tcp 1426/tcp 8181/tcp protocols: masquerade: yes forward-ports: source-ports: icmp-blocks: rich rules:
你对我的错误有什么想法吗?