Get the static IP of server B instead of the static IP of server A
-
- Posts: 7
- Joined: Wed Nov 20, 2019 11:09 pm
Get the static IP of server B instead of the static IP of server A
I have two servers with similar softether settings. A and B
I want when I connect to server A with OpenVPN, the user will get the static IP of server B instead of the static IP of A that he normally gets.
For this purpose, how should the configuration and type of communication between the two servers be done?
I've worked with CasCade a bit but I'm not sure if that's what it's for and has this capability.
I want when I connect to server A with OpenVPN, the user will get the static IP of server B instead of the static IP of A that he normally gets.
For this purpose, how should the configuration and type of communication between the two servers be done?
I've worked with CasCade a bit but I'm not sure if that's what it's for and has this capability.
-
- Posts: 1486
- Joined: Sun Feb 14, 2021 10:31 am
Re: Get the static IP of server B instead of the static IP of server A
You need to re-state what you want to get because the reality is that static IPs are assigned whereas dynamic IPs are given. Furthermore, if you have a multi-server setup and desire complex routing then you'd better off with an OpenVPN server for the client.
-
- Posts: 7
- Joined: Wed Nov 20, 2019 11:09 pm
Re: Get the static IP of server B instead of the static IP of server A
Thanks for reply.
Let me change things a bit.
I actually don't care if server A or B is assigned an IP, my main goal is to have traffic flow between the two.
It means that when we connect to server A, the traffic of server B should be used.
Let me change things a bit.
I actually don't care if server A or B is assigned an IP, my main goal is to have traffic flow between the two.
It means that when we connect to server A, the traffic of server B should be used.
-
- Posts: 1486
- Joined: Sun Feb 14, 2021 10:31 am
Re: Get the static IP of server B instead of the static IP of server A
OK, install SE server on A (presumably without a bridge nor SecureNAT) and install SE bridge on B with a cascade to the A's hub.
-
- Posts: 7
- Joined: Wed Nov 20, 2019 11:09 pm
Re: Get the static IP of server B instead of the static IP of server A
Thankful.
But if it is the case that anyone who has an account on server A can setup an SE bridge (B) and set his account in Cascade to connect to server A and all the traffic of network A will come to him! While this does not make sense.
Maybe I didn't understand your idea correctly.
But if it is the case that anyone who has an account on server A can setup an SE bridge (B) and set his account in Cascade to connect to server A and all the traffic of network A will come to him! While this does not make sense.
Maybe I didn't understand your idea correctly.
-
- Posts: 1486
- Joined: Sun Feb 14, 2021 10:31 am
Re: Get the static IP of server B instead of the static IP of server A
Look at this picture then imagine that the server has no local bridge, got it?
Wait, dwell on it a bit longer...
...now your dream comes true - "when we connect to server A, the traffic of server B should be used"
Wait, dwell on it a bit longer...
...now your dream comes true - "when we connect to server A, the traffic of server B should be used"
-
- Posts: 7
- Joined: Wed Nov 20, 2019 11:09 pm
Re: Get the static IP of server B instead of the static IP of server A
Let me put the problem in a different way from the beginning.
My server A is a SE server with a number of users connecting to it. But the network of this server has blocked access to some sites such as youtube.com.
On the other hand, I have a server B located in another country where youtube.com is available. But server B itself is blocked for the same users. It means that it cannot be directly connected to it. But there is access from server A to server B and vice versa.
Now my problem is how can I make it possible for users connecting to server A to open youtube.com? I can probably use server B as an intermediary. but how?
My server A is a SE server with a number of users connecting to it. But the network of this server has blocked access to some sites such as youtube.com.
On the other hand, I have a server B located in another country where youtube.com is available. But server B itself is blocked for the same users. It means that it cannot be directly connected to it. But there is access from server A to server B and vice versa.
Now my problem is how can I make it possible for users connecting to server A to open youtube.com? I can probably use server B as an intermediary. but how?
-
- Posts: 1486
- Joined: Sun Feb 14, 2021 10:31 am
Re: Get the static IP of server B instead of the static IP of server A
Let me put the solution in a different way - keep in mind the above-linked picture.
As long as New York's hub is "isolated" (no local bridge nor SecNAT) anyone connecting to the SE server will get an IP of Tokyo if Tokyo's hub has internet connection. Consider a cascade connection itself as completely independent of whatever happens between the hubs. More info on L2 Bridge.
As long as New York's hub is "isolated" (no local bridge nor SecNAT) anyone connecting to the SE server will get an IP of Tokyo if Tokyo's hub has internet connection. Consider a cascade connection itself as completely independent of whatever happens between the hubs. More info on L2 Bridge.
-
- Posts: 7
- Joined: Wed Nov 20, 2019 11:09 pm
Re: Get the static IP of server B instead of the static IP of server A
In my scenario, I had to connect to server A. But I think in your scenario, we should have connected to server B, which was my point of confusion. Of course, this is not so important now.
I followed your instructions and this link more carefully:
https://www.softether.org/4-docs/2-howt ... Bridge_VPN
I now have a main A server with SE server and I disabled SecureNAT and I have no Bridge and no Cascade connection.
Then I installed only the SE bridge version on server B. Then I connected a user with appropriate access to server A using Cascade. Of course, SecureNAT is enabled on server B.
And in Local Bridge Settings, I selected the current Virtual Hub and the current LAN Adapter on the same server B and clicked Create Local Bridge, which was set to Operating status.
Now when I try to connect to server B (to check my account from server A and get traffic and possibly its IP) I get the following error:
Error (Error Code 33): Unsupported.
Do you have any idea where I was wrong?
I followed your instructions and this link more carefully:
https://www.softether.org/4-docs/2-howt ... Bridge_VPN
I now have a main A server with SE server and I disabled SecureNAT and I have no Bridge and no Cascade connection.
Then I installed only the SE bridge version on server B. Then I connected a user with appropriate access to server A using Cascade. Of course, SecureNAT is enabled on server B.
And in Local Bridge Settings, I selected the current Virtual Hub and the current LAN Adapter on the same server B and clicked Create Local Bridge, which was set to Operating status.
Now when I try to connect to server B (to check my account from server A and get traffic and possibly its IP) I get the following error:
Error (Error Code 33): Unsupported.
Do you have any idea where I was wrong?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1486
- Joined: Sun Feb 14, 2021 10:31 am
Re: Get the static IP of server B instead of the static IP of server A
No, re-read my post, all clients connect to A (the server) as you originally stipulated.
"Then I connected a user with appropriate access to server A using Cascade."
A cascade is created from B to A. Nothing to do with users.
"Of course, SecureNAT is enabled on server B."
No, SecureNAT and BRIDGE are mutually exclusive. Again, refer to the NY/Tokyo diagram -no SecureNAT there.
"Now when I try to connect to server B... I get the following error: Error (Error Code 33): Unsupported."
Oh please, again "re-read my post, all clients connect to A (the server)"
"Do you have any idea where I was wrong?"
Yes, you've changed your objectives and applied an unworkable config.