Displaying 11 results from an estimated 11 matches for "guest_port".
Did you mean:
dest_port
2015 Jun 08
3
Recommended change for the networking page in wiki
...using /bin/sh, but it did with /bin/bash, so I changed that too).
*#!/bin/bash*
# used some from advanced script to have multiple ports: use an equal
number of guest and host ports
Guest_name=xxxxxxx
Guest_ipaddr=xxx.xxx.xxx.xx
*Host_ipaddr=xxx.xxx.xxx.xx*
Host_port=( '80' '443' )
Guest_port=( '80' '443' )
length=$(( ${#Host_port[@]} - 1 ))
if [ "${1}" = "${Guest_name}" ]; then
if [ "${2}" = "stopped" -o "${2}" = "reconnect" ]; then
for i in `seq 0 $length`; do
iptables -t nat -D PREROU...
2018 Aug 29
2
Setting up port forwarding to guests on nat network
...VM NAME" string to match your actual VM Name.
# In order to create rules to other VMs, just duplicate the below block and configure
# it accordingly.
if [ "${1}" = "testy" ]; then
# Update the following variables to fit your setup
GUEST_IP='10.128.10.100'
GUEST_PORT='22'
HOST_PORT='2588'
if [ "${2}" = "stopped" ] || [ "${2}" = "reconnect" ]; then
/sbin/iptables -D FORWARD -o virbr0 -d $GUEST_IP -j ACCEPT
/sbin/iptables -t nat -D PREROUTING -p tcp --dport $HOST_PORT -j DNAT --to $G...
2018 Aug 30
0
Re: Setting up port forwarding to guests on nat network
...h your actual VM Name.
># In order to create rules to other VMs, just duplicate the below block and configure
># it accordingly.
>if [ "${1}" = "testy" ]; then
>
> # Update the following variables to fit your setup
> GUEST_IP='10.128.10.100'
> GUEST_PORT='22'
> HOST_PORT='2588'
>
> if [ "${2}" = "stopped" ] || [ "${2}" = "reconnect" ]; then
> /sbin/iptables -D FORWARD -o virbr0 -d $GUEST_IP -j ACCEPT
> /sbin/iptables -t nat -D PREROUTING -p tcp --dport $HOST_...
2018 Aug 30
1
Re: Setting up port forwarding to guests on nat network
...der to create rules to other VMs, just duplicate the below block
> and configure
> ># it accordingly.
> >if [ "${1}" = "testy" ]; then
> >
> > # Update the following variables to fit your setup
> > GUEST_IP='10.128.10.100'
> > GUEST_PORT='22'
> > HOST_PORT='2588'
> >
> > if [ "${2}" = "stopped" ] || [ "${2}" = "reconnect" ]; then
> > /sbin/iptables -D FORWARD -o virbr0 -d $GUEST_IP -j ACCEPT
> > /sbin/iptables -t nat -D PREROUTI...
2015 Jun 08
2
Re: Recommended change for the networking page in wiki
...bin/bash*
>> # used some from advanced script to have multiple ports: use an equal
>> number of guest and host ports
>>
>> Guest_name=xxxxxxx
>> Guest_ipaddr=xxx.xxx.xxx.xx
>> *Host_ipaddr=xxx.xxx.xxx.xx*
>> Host_port=( '80' '443' )
>> Guest_port=( '80' '443' )
In fact, these two lines are also bashisms. All the more reason to
require bash.
>> length=$(( ${#Host_port[@]} - 1 ))
>> if [ "${1}" = "${Guest_name}" ]; then
>> if [ "${2}" = "stopped" -o "${2}&quo...
2016 Mar 03
4
virtio-vsock live migration
...formation from the host
kernel.
A new instance of the application is started on the destination host and
given the state so it can restore the connection. The setsockopt()
syscall is used to restore socket state information.
The guest is given a list of <host_old_cid, host_new_cid, host_port,
guest_port> tuples for established connections that must not be reset
when the guest CID update notification is received. These connections
will carry on as if nothing changed.
Note that the connection's remote address is updated from host_old_cid
to host_new_cid. This allows remapping of CIDs (if n...
2016 Mar 03
4
virtio-vsock live migration
...formation from the host
kernel.
A new instance of the application is started on the destination host and
given the state so it can restore the connection. The setsockopt()
syscall is used to restore socket state information.
The guest is given a list of <host_old_cid, host_new_cid, host_port,
guest_port> tuples for established connections that must not be reset
when the guest CID update notification is received. These connections
will carry on as if nothing changed.
Note that the connection's remote address is updated from host_old_cid
to host_new_cid. This allows remapping of CIDs (if n...
2015 Jun 12
0
Re: Recommended change for the networking page in wiki
...advanced script to have multiple ports: use an equal
> >> number of guest and host ports
> >>
> >> Guest_name=xxxxxxx
> >> Guest_ipaddr=xxx.xxx.xxx.xx
> >> *Host_ipaddr=xxx.xxx.xxx.xx*
> >> Host_port=( '80' '443' )
> >> Guest_port=( '80' '443' )
>
> In fact, these two lines are also bashisms. All the more reason to
> require bash.
>
> >> length=$(( ${#Host_port[@]} - 1 ))
> >> if [ "${1}" = "${Guest_name}" ]; then
> >> if [ "${2}" = &quo...
2015 Jun 12
1
Re: Recommended change for the networking page in wiki
2016 Mar 10
0
virtio-vsock live migration
...;
> A new instance of the application is started on the destination host and
> given the state so it can restore the connection. The setsockopt()
> syscall is used to restore socket state information.
>
> The guest is given a list of <host_old_cid, host_new_cid, host_port,
> guest_port> tuples for established connections that must not be reset
> when the guest CID update notification is received. These connections
> will carry on as if nothing changed.
>
> Note that the connection's remote address is updated from host_old_cid
> to host_new_cid. This allow...
2016 Mar 14
0
[virtio-dev] virtio-vsock live migration
...;
> A new instance of the application is started on the destination host and
> given the state so it can restore the connection. The setsockopt()
> syscall is used to restore socket state information.
>
> The guest is given a list of <host_old_cid, host_new_cid, host_port,
> guest_port> tuples for established connections that must not be reset
> when the guest CID update notification is received. These connections
> will carry on as if nothing changed.
>
> Note that the connection's remote address is updated from host_old_cid
> to host_new_cid. This allow...