Search found 757 matches

by hack3rcon
2023/09/14 11:35:07
Forum: CentOS 7 - Networking Support
Topic: My web server is slow
Replies: 0
Views: 13722

My web server is slow

Hello, My server has 6 GM RAM and 4 virtual CPUs. This server hosts a WordPress website. I checked some parts of the server as follows: # free total used free shared buff/cache available Mem: 5924976 1726272 2069744 353176 2128960 3547828 Swap: 2097148 0 2097148 And: # df -ih Filesystem Inodes IUsed...
by hack3rcon
2023/08/20 10:14:10
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: How you configure an OpenVPN server with two public IP addresses?
Replies: 2
Views: 7146

How you configure an OpenVPN server with two public IP addresses?

Hello, Suppose you have an OpenVPN server. Now, you want to set two public IP addresses on it. Your public IP addresses are: 1.2.3.4 1.2.3.5 Your OpenVPN server has one NIC as below: # ifconfig enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast...
by hack3rcon
2023/07/30 13:39:52
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: How to link the server configuration files to IPs?
Replies: 3
Views: 8873

Re: How to link the server configuration files to IPs?

In your case the "server" is OpenVPN and therefore your question is for OpenVPN community/documentation. The CentOS Streams do not provide openvpn. In the iptables rules I have mentioned the name of the NIC. How can OpenVPN recognize that the configuration files Server-1.conf , Server-2.conf and Se...
by hack3rcon
2023/07/30 12:51:41
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: OpenVPN server for access to the local network
Replies: 0
Views: 13884

OpenVPN server for access to the local network

Hello, My OpenVPN server NICs are: enp0s3 (NAT) enp0s8 (LAN) And their IP addresses are: # ifconfig enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 fe80::a00:27ff:feed:b47c prefixlen 64 scopeid 0x20<link> ether 08:00:27:ed:b...
by hack3rcon
2023/07/30 12:50:37
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: A question about the virtual NIC
Replies: 10
Views: 649832

Re: A question about the virtual NIC

Delete what? All addresses? Set ipv4.addresses "" All changes by nmcli are permanent. In fact, some don't even show in action until you reload. (Reboot, or restart NetworkManager.service, or nmcli con down eth0 ; nmcli con up eth0 .) Hello, Thanks again. Delete the new IP address that was added to ...
by hack3rcon
2023/07/29 21:42:36
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: Why ping work with NIC IP not NIC name?
Replies: 2
Views: 7473

Re: Why ping work with NIC IP not NIC name?

Hello, Thank you so much for your reply and time. I guess not. Please note, it did not work when I used the the name of the NIC: # ping -I enp0s8 google.com PING google.com (216.239.38.120) from 10.0.3.15 enp0s8: 56(84) bytes of data. But, it worked when I used the IP address of the same NIC: # ping...
by hack3rcon
2023/07/29 21:30:00
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: How to link the server configuration files to IPs?
Replies: 3
Views: 8873

How to link the server configuration files to IPs?

Hello, Suppose several IP addresses are set on a NIC and the name of the NIC is eth0 . For example, I have set 1.2.3.4 , 1.2.3.5 and 1.2.3.6 IP addresses on the eth0 . I want to launch several server configuration files for each IP. For example, for IP 1.2.3.4 , I want to launch Server-1.conf , Serv...
by hack3rcon
2023/07/29 13:45:33
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: A question about the virtual NIC
Replies: 10
Views: 649832

Re: A question about the virtual NIC

In which file does this command write the settings? How do I delete the added IP? In whatever file the NetworkManager does use for storing the config. We supposedly don't need to know. (The rationale is that the tools, like nmcli, do use proper syntax in file -- something that humans can fail to do...
by hack3rcon
2023/07/29 13:38:56
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: Why ping work with NIC IP not NIC name?
Replies: 2
Views: 7473

Why ping work with NIC IP not NIC name?

Hello, I have a Debian box with two NAT NICs as below: # ifconfig enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 fe80::a00:27ff:fe7b:8f51 prefixlen 64 scopeid 0x20<link> ether 08:00:27:7b:8f:51 txqueuelen 1000 (Ethernet) RX...
by hack3rcon
2023/07/29 05:02:14
Forum: 8 /8-Stream / 9-Stream - Networking Support
Topic: A question about the virtual NIC
Replies: 10
Views: 649832

Re: A question about the virtual NIC

Do you say that one can run three openvpn services on one interface/address? If true, then one can surely run nine openvpn services on the same address too. The use of more than one address on that one subnet is thus not necessary. It is possible to assign multiple addresses to one interface, just ...