I have two RHEL-7.5 instances - one in public subnet & other in private subnet #AWS.
Both the instances have GNOME GUI Enabled & XRDP Installed which has setup GUI at both instances.
I need to know the steps of how can I access & login to the GUI console of private instance from GUI console of public instance.
Kindly let me know the steps.
-Kunal
You will need to open the RDP Ports (3389 in most cases) in security group attached to those instances. Then you can use any RDP client like vnc viewer to access the instance gui using host details and credentials.
Related
I've looked over the Internet and haven't found any solution. My task is to prevent access to the Internet by Google Chrome if the system is not running an OpenVPN connection. So, as the result it will:
Block Internet access if OpenVPN is not connected.
Allow Internet access if OpenVPN is connected.
Any ideas? The platform is Windows 10. With other types of VPN connections, it was possible to stick to the specific interface and to configure Windows Firewall. The target machine is remote one and is manipulated by TeamViewer so the best case is to block only Google Chrome.
I've found a workaround. You need to switch your main network to Private profile. When you connect through OpenVPN your system works in Public profile. Thus you can configure the firewall to allow connections only through the Public profile. I this case, when Google Chrome runs through Private profile it will not allow the connection.
Currently users RDP from their workstation to a server over a VPN and then run putty from that server to connect to the customer's server over a different VPN. We are unable to create a separate physical or logical path to the customer's server because there are some finicky configurations on their end so that the legacy software will still function.
How can I configure a way to allow our users to pivot off of our server to the customer's server directly from their workstations without using RDP to connect via SSH to the customer with an interactive prompt?
I've been trying to use plink, but I'm open to suggestions of other software if needed.
Below is a basic picture showing the connectivity.
My computer is OSX. I'm logged into an ssh connection (Ubuntu), and from there I'm ssh'ed into an OpenStack instance of Ubuntu 14.04. From this OpenStack instance I've been following a Docker-Compose tutorial from the Docker docs : https://docs.docker.com/compose/gettingstarted/
I'm on Step 4, and I'm successfully running a server that is running on http://0.0.0.0:5000/
However, I don't know how to view a GUI Google Chrome browser from my Macbook. Because whenever I go to http://0.0.0.0:5000/ it says server not found, which makes sense because it's not on my computer.
I read something about port forwarding, but I'm not sure that's right here. I'm fairly new, so please help!
Also, is this the right way to use an OpenStack machine? That you use your computer's web browser to view the web app?
I solved it myself. Turns out on OpenStack, you need to create a security group and then add it to your instance. When you create a security group, you can add a port that you want to provide public access to. And then you can view the web app on any computer by typing in your floating IP on OpenStack, colon separated by the public port address.
I changed the firewall (on windows server ) of an Amazon EC2 instance to accept the Remote Desktop connections only for a specific IP address .
Once changes are done , i lost connection and i am no longer able to access the instance .
my question is :
is there a way to access this instance again or is it completely lost ?
You might be able to use Windows Remote Management (WinRM) to open a console to the machine and change the firewall setting from the command line.
WinRM uses port 5985 and it is on by default on some windows images on EC2 (not all of them). Try opening port 5985 in your security group and log in with a Powershell client.
There are some instructions on how to use powershell for WinRM here: How to programmatically/remotely execute a program in EC2 Windows instance
You can run the steps in the script manually.
I had a running instance, and then I became unable to connect to it via http(80) and ssh(22). I tried to reboot the instance, but nothing went up. This has happened to me twice in the past month.
Why does it happen? Can I do anything to fix and/or prevent it from happening?
If I launch a new instance in same region, and it works.
Things to check when trying to connect to an Amazon EC2 instance:
Security Group: Make sure the security group allows inbound access on the desired ports (eg 80, 22) for the appropriate IP address range (eg 0.0.0.0/0). This solves the majority of problems.
Public IP Address: Check that you're using the correct Public IP address for the instance. If the instance is stopped and started, it might receive a new Public IP address (depending on how it has been configured).
VPC Configuration: Accessing an EC2 instance that is launched inside a Virtual Private Cloud (VPC) requires:
An Internet Gateway
A routing table connecting the subnet to the Internet Gateway
NACLs (Network ACLS) that permit through-traffic
If you are able to launch and connect to another instance in the same subnet, then the VPC configuration would appear to be correct.
The other thing to check would be the actual configuration of the operating system on the instance itself. Some software may be affecting the configuration so that the web server / ssh daemon is not working correctly. Of course, that is hard to determine without connecting to the instance.
If you are launching from a standard Amazon Linux AMI, ssh would work correctly anytime. The web server (port 80) would require installation and configuration of software on the instance, which is your responsibility to maintain.