Route setting for Mac

In the DOS system, there is a route command.

We want to know if there is any method in Mac

that do the same function as the route command.

We have an encryption tunnel server (let the IP

address of this server be And we

want to send all traffic to another tunnel server

( through our tunnel server. In the

DOS, we enter the following command:

route -f add mask

We know that specifying as the gateway

for the TCP/IP setting is one way. But we want to know

if there is a method like DOS command.

Who is Participating?
weedConnect With a Mentor Commented:
i think youre going to run into a HUGE brick wall with that one considering the macOS doesnt use a base layer such as DOS. therefore you wont have a command anything like dos. Usually you need a router such as the vicom internet gateway or vicom internet router. the gateway does both. apple also has a router out but im not sure if its compatible with later versions of tcp/ip.
niconoAuthor Commented:
Adjusted points to 150
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.