Line 38: |
Line 38: |
| [[Image:SoftEther_Schematic.jpg|link=https://wiki.contribs.org/File:SoftEther_Schematic.jpg]] | | [[Image:SoftEther_Schematic.jpg|link=https://wiki.contribs.org/File:SoftEther_Schematic.jpg]] |
| ===Installation=== | | ===Installation=== |
| + | <tabs container style="display: inline-block;"><tab name="For SME 10"> |
| + | yum install smeserver-bridge-interface --enablerepo=smecontribs |
| + | yum --enablerepo=smecontribs,smedev install {{#var:smecontribname}} |
| + | config setprop bridge tapInterface tap0,tap_soft |
| + | config setprop ExternalInterface MTU 2000 |
| + | config setprop InternalInterface MTU 2000 |
| + | config setprop bridge MTU 2000 |
| + | service bridge restart |
| + | signal-event smeserver-softethervpn-server-update |
| + | |
| + | if you plan to use softether VPN on port 443 (works only if you are in server and gateway mode). Yes you have to stop and then start, restart will fail. You also need a static IP to use port 443 |
| + | config setprop httpd-e-smith httpsOnlyLocal enabled |
| + | expand-template /etc/httpd/conf/httpd.conf |
| + | service httpd-e-smith stop |
| + | service httpd-e-smith start |
| + | service vpnserver start |
| + | service vpnserver stop |
| + | then edit the configuration |
| + | vim /usr/vpnserver/vpn_server.config |
| + | |
| + | to set in place of 0.0.0.0<syntaxhighlight lang="bash"> |
| + | string ListenIP ip.ip.ip.ip |
| + | </syntaxhighlight> |
| + | </tab><tab name="For SME 9"> |
| yum install smeserver-bridge-interface --enablerepo=smecontribs | | yum install smeserver-bridge-interface --enablerepo=smecontribs |
| yum --enablerepo=smecontribs,smedev install {{#var:smecontribname}} | | yum --enablerepo=smecontribs,smedev install {{#var:smecontribname}} |
Line 63: |
Line 87: |
| Then, for all to finish: | | Then, for all to finish: |
| service vpnserver start | | service vpnserver start |
| + | </tab> |
| + | </tabs> |
| | | |
| ====Finishing configuration using windows==== | | ====Finishing configuration using windows==== |