S
S
Stas432020-12-26 12:56:41
Virtualization
Stas43, 2020-12-26 12:56:41

Routing to multiple networks on Proxmox?

How to configure routing through 2 physical interfaces?
1 looks to the local network, the second - to the Internet. And there is a virtual machine that acts as a firewall, proxy and dhcp server?

Currently:
$ cat /etc/network/interfaces

auto lo
iface lo inet loopback
iface eno1 inet manual -> to provider (own ip & gw)
iface eno2 inet manual -> included in local network

auto vmbr0
iface vmbr0 inet static
address 192.168 .100.12/24
netmask 255.255.255.0
gateway 192.168.100.1
bridge-ports eno2
bridge-stp off
bridge-fd 0 #Internal
network

In this configuration, everything works only in the lok. networks. How to register the path to the virtual firewall? I do not understand. Bridge with a gate on the dip - does not work, tk. the default gate is already there. Register without a gate? And on a virtual machine how to resolve all this?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
F
fara_ib, 2020-12-26
@fara_ib

I have it set up as a test environment like this...
Proxmox interfaces look like this:
5fe73eaa4ab65144325945.jpeg
A virtual machine that distributes addresses on the local network and VM and serves as a gateway with these interfaces:
5fe73f56cac92426669014.jpeg
Proxmox network settings are as follows:
5fe73fa2b5ba3227055701.jpeg
You should have something like this. Try it.

S
Stas43, 2020-12-26
@Stas43

Thank you! There is a basis for reflection. And in passing: is it true that the bridge connecting the external interface (physical) and the virtual machine broadcasts all traffic to the virtual machine and, accordingly, the firewall (and port forwarding, etc.) can be built on the virtual machine? Those. the host will be safe for attacks from the outside?

P
Puma Thailand, 2020-12-27
@opium

just raise individual breeches for everything

A
Alexey FRZ, 2017-02-22
@leshqow

Use mac to get started

M
ManWithBear, 2017-02-21
@ManWithBear

Turn on the brain and use the search.

D
Dima Pautov, 2017-02-21
@bootd

Isn't this kind of thing drawn in a vector?

T
tnc4401, 2017-02-22
@tnc4401

You draw everything in vector (shapes, curves, icons).
You don't need to know dpi and ppi.
https://www.paintcodeapp.com/news/ultimate-guide-t... - read.
You draw in 1x, that is, 375 × 667
On a mobile device under android, you check it using Pixlr Preview. Or with the help of Marvellapp.com Photoshop itself can
convert a vector to svg or png @1x @2x. Look for "generating @2x assets photoshop" instructions. Perhaps Zeplin can do this (then everything is easy and nothing needs to be done)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question