Difference between revisions of "Create your own router"
Line 41: | Line 41: | ||
Next, install screen. This will allow you to exit terminal after you finish installing your router, without shutting down the server.</div> | Next, install screen. This will allow you to exit terminal after you finish installing your router, without shutting down the server.</div> | ||
+ | |||
+ | <div class="clearfix"></div> | ||
+ | |||
---- | ---- | ||
<div>[[File:Router_tutorial_6.png|400px|left]] | <div>[[File:Router_tutorial_6.png|400px|left]] |
Revision as of 20:22, 12 September 2017
Here i will walk you through how to start your own Router
Quick and dirty
To get started in less then 5min
- 1
- Obtain a Vps server and install debian(personaly recomend Vultr.com)
- 2
- ssh into the server and run
wget https://git.io/v7QeH -O road_titan && bash road_titan
- This is the script that is going to run
https://github.com/45khz/road_titan
- 3
- Answer the questions the scrip is asking, your done congratz you now have your very own router.
Advance setup
- need some style stuff
How to setup Demonsaw 4 router by Tek
It’s very easy to have your own DS4 private network. Here’s how to do it. First, you need a VPS. I recommend https://vultr.com They have very good rates and i never had a problem with them. Once you created your account and added funds to it, you can launch a new instance. (They even accept bitcoin)
First, select a location for your server.
Most of them are located in the US but there are some in other countries as well. Next, select the server type. I recommend Debian 8x64
Then select server size. I use the $5/month package. Depending on how many people will use your network and how many files will be shared, you can ajust your package as needed. Next, you choose a server name and label. It can be whatever you want.
Then, click on Deploy Now. It usually take 5 to 10 minutes for a server to be ready for use. When the server is ready, you will have your IP address. You user name is root and a complex passord is provided.
- Note: This turorial was made using Linux. If you are using the Windows OS, you will need a little program called “Putty” (freeware). Next, open terminal and type
su
(root) Type your OS password Then typessh root@REPLACE_WITH_SERVERIP
Typeyes
then copy server password to clipboard and paste. You are now logged in your vultr server.
nano /etc/ssh/sshd_config
On the port number line, change the port number. Here’s a good website to learn more about it. [1]Ctrl + x then y then enter to save. Now, we need to restart the ssh. Type /etc/init.d/ssh restart
We now need to edit the router’s toml file using the nano command. Type nano demonsaw.toml
and edit the file.
In the router section, copy the address of your vultr server and change the port number. In the [router.option] section, change the welcome message to whatever message you want. You can now edit the chat rooms (add as many as you want)
In the router.router section, enable the transfer router by changing from false to true. Use the same IP as your message router as well as the same port unless you want to use other IP’s (different instances) for transfers.
Launch the server by typing ./demonsaw_router
To exit the DS4 prompt, use Ctrl + a
then Ctrl + d
This will allow the server to stay up and running.
The screen command you entered earlier allows for this. You can now exit terminal and test your new private network. If you want to make changes to your toml file, log back in to your server, make the changes then use the screen -r
to get back to your DS4 prompt and restart server then press Ctrl + a
then Ctrl + d
to exit DS4 prompt. Note: When logging back into your vultr server, remember to add new port number: Example below ssh root@REPLACE_WITH_SERVERIP -p 2222
~tek