There is a server with two network cards. Through the first server is connected to the Internet. This connection is shared by connecting to another computer (second network card) so that it also has access to the Internet (done like this: Control Panel \ Network and Internet \ Network Connections -> connection_ with provider => Properties -> Sharing -> Allow other network users to connect through this computer's Internet connection) The appropriate field indicates the name of the network connection that will access the Internet. Actually, the question is in the title.

PS: Maybe the question looks confusing, but I hope they understand me.

PS2: Yes, I understand that there are routers for such tasks. But the method without routers interests.

    2 answers 2

    Well, I think that all the connections that you need to distribute the Internet need to be connected to a bridge and then in (Control Panel \ Network and Internet Provider -> Properties -> Sharing -> Allow) ) choose the network bridge

    Connect the network card in the bridge. Share an Internet after merging. The bridge will have an ah-pee 192.168.0.1. Connected computers should have TCP \ IP settings: 192.168.0.2 (3), 255.255.255.0, 192.168.0.1, 192.168.0.1 (the last DNS address may be different if the server settings do not provide it automatically, so you need to know alternative DNS in your provider's network (either 8.8.8.8, I think it will work too) and register, but first try 0.1)

      And is not considered an option with Linux on the server?

      iptables -A POSTROUTING -t nat -j MASQUERADEiptables -P FORWARD ACCEPTecho 1 > /proc/sys/net/ipv4/ip_forward 
      • No, this is not the case. But thanks for the info :) - nitrocaster