Skip to main content

How to enable VPN over ICMP / DNS in SoftEther VPN

Or where is the damn VPN over ICMP / DNS setting in SoftEther

Because the infrequent times I need to install a SoftEther server I seem to waste half an hour trying to locate this setting.

BUT, it's already enabled by default.

Well enjoy this tip and if this has helped do thank me by following me on twitter @danielsokolows.


  1. Daniel, I have quick question.

    I have an ftp server as well as media server sitting right on the same machine where softether is installed. all those 3 services under the same pc. at first my ftp was working then not, short after that was my media server. The ports are set in softether to listen but no luck. Any suggestions? By the way I have a bridged connection... 2 ethernet ports bridged as one..

    1. Not sure what the issue is, the last 5 minutes thinking about this and I can only suggest you start with the most basic setup and begin adding things and see what brakes things - maybe it's the bridged connection.

  2. but how to setup the Softether VPN Client to use ICMP???

    waiting for your answer.

    Thank you.

    1. I haven't been able to test this myself (the initial requirements I had no longer are there) BUT my understanding was from all my reading that the client will automatically select ICMP once all other options are tried and fail.

    2. Daniel is right.
      I bumped into this page searching for the same answer..
      You cannot force the client to use icmp or dns. if TCP and UDP ports are blocked then ICMP is being used, if ICMP is blocked and UDP port 53 is open then DNS is used.
      I tested it by blocking protocols one by one with iptables.
      works like charm :)

  3. I tried to disable all ports from the server. But still unable to connect from my client to server. The client set to connect port 443.

  4. Would you still need to setup port forwarding on your router to forward port 53 (DNS) and ICMP port (not sure what port it is and I don't think you can forward this type of protocol on a router), to your Softether VPN server?

    1. No I don't believe you need to do that, the idea is that these are automatically allowed.

  5. If china also block
    Also Local Bridge not work on wireless card, so impossible to make site-to-site config with wireless card, only point=to-site is possible
    Compare to Microsoft builtin IpEnableRouter and SSTP VPN, site-to-site work flawless with wireless card


Post a Comment

Popular posts from this blog

Storing passwords in PuTTY

How to save SSH username/password for auto login in PuTTy The answer is you can't do least in plain PuTTy. However there is an awesome fork with that let's you store the username and password and other additional features called KiTTy.

So grab yourself a copy and +1 this if you do, thanks.

Duplicate value found: duplicates value on record with id: <unknown>.

System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: <unknown> duplicates value on record with id: <unknown>.The above error is triggered in the database layer and caused by a trigger or workflow outside of your main code of block that is bubbling this exception. This is rather difficult to track down especially if you are unfamiliar with the code, I am sharing my procedure in the hopes this saves you time - if you find this helpful drop me a line or follow me on twitter @danielsokolows. This error is caused by unique field constraint on the object, so the first step is to examine the object and locate the API names of all unique fieds. You can do this through SF direclty 'Setup < Customize &lt <object being inserted> &lt Fields' or by downloading the `src/objects` metadata information and searching for <unique>; I preffer the latter and actually download ALL matadata information f…

Softeher 'Error occurred. (Error code: 2)' sollution

Protocol error occurred. Error was returned from the destination server.The Softether server by default to run on port 443, if you server also hosts normal https then 443 is already taken and so Softether can't bind to it. When you run `vpncmd` it attempts to connect, find an active port, but of course fails with 'Protocol error occurred. Error was returned from the destination server.' because it's not actually connecting to the vpn server. By default Softether also listens on 992, 1194, and 5555 so the sollution is to modify specify `localhost:5555` when executing the `vpncmnd`. If this has helped you feel free to comment or follow me on twitter @danielsokolows.