Jump to content

How to use multiple IPs

Ajaydev Singh
On 8/24/2016 at 9:57 AM, dalekphalm said:

In practice, it would come down to the individual factors and circumstances, as to whether you would end up charged in court.

 

What is your technical skill level? If you're a professional IT Admin, they'll expect better security out of you. If you're some idiot know-it-all high school student, they will expect less.

 

It also depends on the type of service. No one is gonna get charged because their home PC was taken over by a Bot Net and used as part of a DDoS. However, if you have a hosted server w/ huge internet resources (Like 1Gbps WAN connection), and you intentionally disable security on that server? Then yes, you could be held liable.

 

 

So you guys are BOTH right AND wrong. There could certainly be some liability, and intentionally disabling the security could certainly increase that liability.

 

But your average person is NOT gonna get taken to court over being a host to part of a DDoS attack because their home network was compromised. It all depends on the context.

Thanks for good reply. After this thread I did lot of security stuff. The user which run the server for minecraft have no sudo permission and no permissions roles. Yes it is hosted in a Data Center with 1Gbit internet.

Link to comment
Share on other sites

Link to post
Share on other sites

This thread is a bit rediculous.

 

Desktop CPU's are actually better for games due to the higher frequency - depending on the kernel tuning of the OS.

As far as DDoS - what does this have to do with the OP's question? If hes running a basic Minecraft server, then unless hes running some sort of vulnerable script like SSH2, or has open database vulnerabilities, etc...then I don't know what this has to do with the thread?

 

As far as utilizing multiple Ip addresses, for a webserver you should probably use Apache or Nginx (like Apache but supports reverse proxy), which you can configure with Virtual Hosts for your various websites. You can find information here on how your config should look: https://httpd.apache.org/docs/current/vhosts/ip-based.html

 

Generally on Ubuntu once you install/configure Apache, you navigate into /etc/httpd and there should be a sites-available folder. You will see some conf's in there. You just make a conf for each site, then use the command 'sudo a2ensite <configname>' to enable the site.

 

The Minecraft server should have a config option to define the listening IP address. Generally you can use 0.0.0.0 if you want it to listen on all available IP addresses on the machine.

 

EDIT: Heres how to assign the IP's to your NIC in Ubuntu: http://askubuntu.com/questions/547289/how-can-i-from-cli-assign-multiple-ip-addresses-to-one-interface

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, Jarsky said:

This thread is a bit rediculous.

 

Desktop CPU's are actually better for games due to the higher frequency - depending on the kernel tuning of the OS.

As far as DDoS - what does this have to do with the OP's question? If hes running a basic Minecraft server, then unless hes running some sort of vulnerable script like SSH2, or has open database vulnerabilities, etc...then I don't know what this has to do with the thread?

 

As far as utilizing multiple Ip addresses, for a webserver you should probably use Apache or Nginx (like Apache but supports reverse proxy), which you can configure with Virtual Hosts for your various websites. You can find information here on how your config should look: https://httpd.apache.org/docs/current/vhosts/ip-based.html

 

Generally on Ubuntu once you install/configure Apache, you navigate into /etc/httpd and there should be a sites-available folder. You will see some conf's in there. You just make a conf for each site, then use the command 'sudo a2ensite <configname>' to enable the site.

 

The Minecraft server should have a config option to define the listening IP address. Generally you can use 0.0.0.0 if you want it to listen on all available IP addresses on the machine.

 

EDIT: Heres how to assign the IP's to your NIC in Ubuntu: http://askubuntu.com/questions/547289/how-can-i-from-cli-assign-multiple-ip-addresses-to-one-interface

Ya That was the reason for picking this cpu because it has higher frequency which means less lag.

Not running any useless scripts, I only run software that I need to run.

 

Ya I found out how to config ips and use them for apache and minecraft yes it did have 0.0.0.0 which I put one of the ip and running 2 servers with different ip and not different port.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×