Question: Is it possible to create an VPN connection while using site-to-site VPN?

Have you ever tried or done this?

What are possible problems, pitfalls, things of the impossible, etc. ?

Also see: [Is it possible to use Microsoft's "Secure Connection Rules" (IPSec) with VPN?](https://serverfault.com/questions/126537/is-it-possible-to-use-microsofts-secure-connection-rules-ipsec-with-vpn)

Answer: 
Yes.

Either you use e.g. "screen" and customize it:
<http://www.slac.stanford.edu/comp/unix/package/epics/extensions/iocConsole/screen.1.html>

Or you manage to do it on your SSH Client, if possible.

You could also try this: <http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/>
If you are using iTerm2, create a file named `~/bin/ssh-host-color.sh` with the contents from <https://gist.github.com/jbochi/31f118b8ae2882a2c90fa46c46509b57>:

```
set_term_bgcolor(){
  local R=$1
  local G=$2
  local B=$3
  /usr/bin/osascript <<EOF
tell application "iTerm"
  tell the current window
    tell the current session
      set background color to {$(($R*65535/255)), $(($G*65535/255)), $(($B*65535/255))}
    end tell
  end tell
end tell
EOF
}

if [[ "$@" =~ "production.example.com" ]]; then
  set_term_bgcolor 40 0 0
elif [[ "$@" =~ "qa.example.com" ]]; then
  set_term_bgcolor 0 40 0
fi

trap "set_term_bgcolor 0 0 0" EXIT

ssh $@

```

And add the following line to your `~/.aliases.sh` file:

```
alias ssh="~/bin/ssh-host-color.sh $@"

```